Hệ thống quản lý thanh toán POS nhà hàng

1 <?xml version="1.0" encoding="utf-8"?>
2 <xs:schema id=
"RPOS_DBDataSet" targetNamespace="http://tempuri.org/RPOS_DBDataSet.xsd" xmlns:mstns="http://tempuri.org/RPOS_DBDataSet.xsd" xmlns="http://tempuri.org/RPOS_DBDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
3   <xs:annotation>
4     <xs:appinfo source=
"urn:schemas-microsoft-com:xml-msdatasource">
5       <DataSource DefaultConnectionIndex=
"0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
6         <Connections>
7           <Connection AppSettingsObjectName=
"MySettings" AppSettingsPropertyName="RPOS_DBConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="RPOS_DBConnectionString (MySettings)" PropertyReference="ApplicationSettings.Restaurant_Management_System.My.MySettings.GlobalReference.Default.RPOS_DBConnectionString" Provider="System.Data.OleDb" />
8         </Connections>
9         <Tables>
10           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ActivationTableAdapter" GeneratorDataComponentClassName="ActivationTableAdapter" Name="Activation" UserDataComponentName="ActivationTableAdapter">
11             <MainSource>
12               <DbSource ConnectionRef=
"RPOS_DBConnectionString (MySettings)" DbObjectName="Activation" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
13                 <DeleteCommand>
14                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
15                     <CommandText>DELETE FROM `Activation` WHERE ((`Id` = ?) AND ((? =
1 AND `HardwareID` IS NULL) OR (`HardwareID` = ?)) AND ((? = 1 AND `ActivationID` IS NULL) OR (`ActivationID` = ?)))</CommandText>
16                     <Parameters>
17                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Id" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
18                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_HardwareID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="HardwareID" SourceColumnNullMapping="true" SourceVersion="Original" />
19                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_HardwareID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="HardwareID" SourceColumnNullMapping="false" SourceVersion="Original" />
20                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ActivationID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ActivationID" SourceColumnNullMapping="true" SourceVersion="Original" />
21                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_ActivationID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ActivationID" SourceColumnNullMapping="false" SourceVersion="Original" />
22                     </Parameters>
23                   </DbCommand>
24                 </DeleteCommand>
25                 <InsertCommand>
26                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
27                     <CommandText>INSERT INTO `Activation` (`HardwareID`, `ActivationID`) VALUES (?, ?)</CommandText>
28                     <Parameters>
29                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="HardwareID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="HardwareID" SourceColumnNullMapping="false" SourceVersion="Current" />
30                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="ActivationID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ActivationID" SourceColumnNullMapping="false" SourceVersion="Current" />
31                     </Parameters>
32                   </DbCommand>
33                 </InsertCommand>
34                 <SelectCommand>
35                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
36                     <CommandText>SELECT Id, HardwareID, ActivationID FROM Activation</CommandText>
37                     <Parameters />
38                   </DbCommand>
39                 </SelectCommand>
40                 <UpdateCommand>
41                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
42                     <CommandText>UPDATE `Activation` SET `HardwareID` = ?, `ActivationID` = ? WHERE ((`Id` = ?) AND ((? =
1 AND `HardwareID` IS NULL) OR (`HardwareID` = ?)) AND ((? = 1 AND `ActivationID` IS NULL) OR (`ActivationID` = ?)))</CommandText>
43                     <Parameters>
44                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="HardwareID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="HardwareID" SourceColumnNullMapping="false" SourceVersion="Current" />
45                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="ActivationID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ActivationID" SourceColumnNullMapping="false" SourceVersion="Current" />
46                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Id" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
47                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_HardwareID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="HardwareID" SourceColumnNullMapping="true" SourceVersion="Original" />
48                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_HardwareID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="HardwareID" SourceColumnNullMapping="false" SourceVersion="Original" />
49                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ActivationID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ActivationID" SourceColumnNullMapping="true" SourceVersion="Original" />
50                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_ActivationID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ActivationID" SourceColumnNullMapping="false" SourceVersion="Original" />
51                     </Parameters>
52                   </DbCommand>
53                 </UpdateCommand>
54               </DbSource>
55             </MainSource>
56             <Mappings>
57               <Mapping SourceColumn=
"Id" DataSetColumn="Id" />
58               <Mapping SourceColumn=
"HardwareID" DataSetColumn="HardwareID" />
59               <Mapping SourceColumn=
"ActivationID" DataSetColumn="ActivationID" />
60             </Mappings>
61             <Sources />
62           </TableAdapter>
63           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CategoryTableAdapter" GeneratorDataComponentClassName="CategoryTableAdapter" Name="Category" UserDataComponentName="CategoryTableAdapter">
64             <MainSource>
65               <DbSource ConnectionRef=
"RPOS_DBConnectionString (MySettings)" DbObjectName="Category" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
66                 <DeleteCommand>
67                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
68                     <CommandText>DELETE FROM `Category` WHERE ((`CategoryName` = ?) AND ((? =
1 AND `VAT` IS NULL) OR (`VAT` = ?)) AND ((? = 1 AND `ST` IS NULL) OR (`ST` = ?)) AND ((? = 1 AND `SC` IS NULL) OR (`SC` = ?)))</CommandText>
69                     <Parameters>
70                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_CategoryName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CategoryName" SourceColumnNullMapping="false" SourceVersion="Original" />
71                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_VAT" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="VAT" SourceColumnNullMapping="true" SourceVersion="Original" />
72                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_VAT" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Original" />
73                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ST" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ST" SourceColumnNullMapping="true" SourceVersion="Original" />
74                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_ST" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="ST" SourceColumnNullMapping="false" SourceVersion="Original" />
75                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_SC" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="SC" SourceColumnNullMapping="true" SourceVersion="Original" />
76                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_SC" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SC" SourceColumnNullMapping="false" SourceVersion="Original" />
77                     </Parameters>
78                   </DbCommand>
79                 </DeleteCommand>
80                 <InsertCommand>
81                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
82                     <CommandText>INSERT INTO `Category` (`CategoryName`, `VAT`, `ST`, `SC`) VALUES (?, ?, ?, ?)</CommandText>
83                     <Parameters>
84                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="CategoryName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CategoryName" SourceColumnNullMapping="false" SourceVersion="Current" />
85                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="VAT" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Current" />
86                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="ST" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="ST" SourceColumnNullMapping="false" SourceVersion="Current" />
87                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="SC" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SC" SourceColumnNullMapping="false" SourceVersion="Current" />
88                     </Parameters>
89                   </DbCommand>
90                 </InsertCommand>
91                 <SelectCommand>
92                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
93                     <CommandText>SELECT CategoryName, VAT, ST, SC FROM Category</CommandText>
94                     <Parameters />
95                   </DbCommand>
96                 </SelectCommand>
97                 <UpdateCommand>
98                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
99                     <CommandText>UPDATE `Category` SET `CategoryName` = ?, `VAT` = ?, `ST` = ?, `SC` = ? WHERE ((`CategoryName` = ?) AND ((? =
1 AND `VAT` IS NULL) OR (`VAT` = ?)) AND ((? = 1 AND `ST` IS NULL) OR (`ST` = ?)) AND ((? = 1 AND `SC` IS NULL) OR (`SC` = ?)))</CommandText>
100                     <Parameters>
101                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="CategoryName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CategoryName" SourceColumnNullMapping="false" SourceVersion="Current" />
102                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="VAT" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Current" />
103                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="ST" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="ST" SourceColumnNullMapping="false" SourceVersion="Current" />
104                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="SC" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SC" SourceColumnNullMapping="false" SourceVersion="Current" />
105                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_CategoryName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CategoryName" SourceColumnNullMapping="false" SourceVersion="Original" />
106                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_VAT" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="VAT" SourceColumnNullMapping="true" SourceVersion="Original" />
107                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_VAT" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Original" />
108                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ST" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ST" SourceColumnNullMapping="true" SourceVersion="Original" />
109                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_ST" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="ST" SourceColumnNullMapping="false" SourceVersion="Original" />
110                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_SC" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="SC" SourceColumnNullMapping="true" SourceVersion="Original" />
111                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_SC" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SC" SourceColumnNullMapping="false" SourceVersion="Original" />
112                     </Parameters>
113                   </DbCommand>
114                 </UpdateCommand>
115               </DbSource>
116             </MainSource>
117             <Mappings>
118               <Mapping SourceColumn=
"CategoryName" DataSetColumn="CategoryName" />
119               <Mapping SourceColumn=
"VAT" DataSetColumn="VAT" />
120               <Mapping SourceColumn=
"ST" DataSetColumn="ST" />
121               <Mapping SourceColumn=
"SC" DataSetColumn="SC" />
122             </Mappings>
123             <Sources />
124           </TableAdapter>
125           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DishTableAdapter" GeneratorDataComponentClassName="DishTableAdapter" Name="Dish" UserDataComponentName="DishTableAdapter">
126             <MainSource>
127               <DbSource ConnectionRef=
"RPOS_DBConnectionString (MySettings)" DbObjectName="Dish" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
128                 <DeleteCommand>
129                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
130                     <CommandText>DELETE FROM `Dish` WHERE ((`ItemID` = ?) AND ((? =
1 AND `Dishname` IS NULL) OR (`Dishname` = ?)) AND ((? = 1 AND `Category` IS NULL) OR (`Category` = ?)) AND ((? = 1 AND `Kitchen` IS NULL) OR (`Kitchen` = ?)) AND ((? = 1 AND `InventoryType` IS NULL) OR (`InventoryType` = ?)) AND ((? = 1 AND `Rate` IS NULL) OR (`Rate` = ?)) AND ((? = 1 AND `Discount` IS NULL) OR (`Discount` = ?)))</CommandText>
131                     <Parameters>
132                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_ItemID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Original" />
133                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Dishname" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Dishname" SourceColumnNullMapping="true" SourceVersion="Original" />
134                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Dishname" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Dishname" SourceColumnNullMapping="false" SourceVersion="Original" />
135                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Category" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Category" SourceColumnNullMapping="true" SourceVersion="Original" />
136                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Category" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Category" SourceColumnNullMapping="false" SourceVersion="Original" />
137                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Kitchen" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Kitchen" SourceColumnNullMapping="true" SourceVersion="Original" />
138                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Kitchen" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Kitchen" SourceColumnNullMapping="false" SourceVersion="Original" />
139                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_InventoryType" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="InventoryType" SourceColumnNullMapping="true" SourceVersion="Original" />
140                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_InventoryType" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="InventoryType" SourceColumnNullMapping="false" SourceVersion="Original" />
141                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Rate" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Rate" SourceColumnNullMapping="true" SourceVersion="Original" />
142                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Rate" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Rate" SourceColumnNullMapping="false" SourceVersion="Original" />
143                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Discount" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Discount" SourceColumnNullMapping="true" SourceVersion="Original" />
144                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Discount" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
145                     </Parameters>
146                   </DbCommand>
147                 </DeleteCommand>
148                 <InsertCommand>
149                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
150                     <CommandText>INSERT INTO `Dish` (`ItemID`, `Dishname`, `Category`, `Kitchen`, `InventoryType`, `Rate`, `Discount`) VALUES (?, ?, ?, ?, ?, ?, ?)</CommandText>
151                     <Parameters>
152                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="ItemID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Current" />
153                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Dishname" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Dishname" SourceColumnNullMapping="false" SourceVersion="Current" />
154                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Category" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Category" SourceColumnNullMapping="false" SourceVersion="Current" />
155                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Kitchen" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Kitchen" SourceColumnNullMapping="false" SourceVersion="Current" />
156                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="InventoryType" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="InventoryType" SourceColumnNullMapping="false" SourceVersion="Current" />
157                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Rate" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Rate" SourceColumnNullMapping="false" SourceVersion="Current" />
158                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Discount" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
159                     </Parameters>
160                   </DbCommand>
161                 </InsertCommand>
162                 <SelectCommand>
163                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
164                     <CommandText>SELECT ItemID, Dishname, Category, Kitchen, InventoryType, Rate, Discount FROM Dish</CommandText>
165                     <Parameters />
166                   </DbCommand>
167                 </SelectCommand>
168                 <UpdateCommand>
169                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
170                     <CommandText>UPDATE `Dish` SET `ItemID` = ?, `Dishname` = ?, `Category` = ?, `Kitchen` = ?, `InventoryType` = ?, `Rate` = ?, `Discount` = ? WHERE ((`ItemID` = ?) AND ((? =
1 AND `Dishname` IS NULL) OR (`Dishname` = ?)) AND ((? = 1 AND `Category` IS NULL) OR (`Category` = ?)) AND ((? = 1 AND `Kitchen` IS NULL) OR (`Kitchen` = ?)) AND ((? = 1 AND `InventoryType` IS NULL) OR (`InventoryType` = ?)) AND ((? = 1 AND `Rate` IS NULL) OR (`Rate` = ?)) AND ((? = 1 AND `Discount` IS NULL) OR (`Discount` = ?)))</CommandText>
171                     <Parameters>
172                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="ItemID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Current" />
173                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Dishname" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Dishname" SourceColumnNullMapping="false" SourceVersion="Current" />
174                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Category" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Category" SourceColumnNullMapping="false" SourceVersion="Current" />
175                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Kitchen" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Kitchen" SourceColumnNullMapping="false" SourceVersion="Current" />
176                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="InventoryType" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="InventoryType" SourceColumnNullMapping="false" SourceVersion="Current" />
177                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Rate" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Rate" SourceColumnNullMapping="false" SourceVersion="Current" />
178                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Discount" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
179                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_ItemID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Original" />
180                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Dishname" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Dishname" SourceColumnNullMapping="true" SourceVersion="Original" />
181                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Dishname" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Dishname" SourceColumnNullMapping="false" SourceVersion="Original" />
182                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Category" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Category" SourceColumnNullMapping="true" SourceVersion="Original" />
183                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Category" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Category" SourceColumnNullMapping="false" SourceVersion="Original" />
184                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Kitchen" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Kitchen" SourceColumnNullMapping="true" SourceVersion="Original" />
185                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Kitchen" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Kitchen" SourceColumnNullMapping="false" SourceVersion="Original" />
186                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_InventoryType" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="InventoryType" SourceColumnNullMapping="true" SourceVersion="Original" />
187                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_InventoryType" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="InventoryType" SourceColumnNullMapping="false" SourceVersion="Original" />
188                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Rate" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Rate" SourceColumnNullMapping="true" SourceVersion="Original" />
189                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Rate" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Rate" SourceColumnNullMapping="false" SourceVersion="Original" />
190                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Discount" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Discount" SourceColumnNullMapping="true" SourceVersion="Original" />
191                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Discount" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
192                     </Parameters>
193                   </DbCommand>
194                 </UpdateCommand>
195               </DbSource>
196             </MainSource>
197             <Mappings>
198               <Mapping SourceColumn=
"ItemID" DataSetColumn="ItemID" />
199               <Mapping SourceColumn=
"Dishname" DataSetColumn="Dishname" />
200               <Mapping SourceColumn=
"Category" DataSetColumn="Category" />
201               <Mapping SourceColumn=
"Kitchen" DataSetColumn="Kitchen" />
202               <Mapping SourceColumn=
"InventoryType" DataSetColumn="InventoryType" />
203               <Mapping SourceColumn=
"Rate" DataSetColumn="Rate" />
204               <Mapping SourceColumn=
"Discount" DataSetColumn="Discount" />
205             </Mappings>
206             <Sources />
207           </TableAdapter>
208           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="HotelTableAdapter" GeneratorDataComponentClassName="HotelTableAdapter" Name="Hotel" UserDataComponentName="HotelTableAdapter">
209             <MainSource>
210               <DbSource ConnectionRef=
"RPOS_DBConnectionString (MySettings)" DbObjectName="Hotel" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
211                 <DeleteCommand>
212                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
213                     <CommandText>DELETE FROM `Hotel` WHERE ((`ID` = ?) AND ((? =
1 AND `HotelName` IS NULL) OR (`HotelName` = ?)) AND ((? = 1 AND `AddressLine1` IS NULL) OR (`AddressLine1` = ?)) AND ((? = 1 AND `AddressLine2` IS NULL) OR (`AddressLine2` = ?)) AND ((? = 1 AND `AddressLine3` IS NULL) OR (`AddressLine3` = ?)) AND ((? = 1 AND `ContactNo` IS NULL) OR (`ContactNo` = ?)) AND ((? = 1 AND `EmailID` IS NULL) OR (`EmailID` = ?)) AND ((? = 1 AND `TIN` IS NULL) OR (`TIN` = ?)) AND ((? = 1 AND `STNo` IS NULL) OR (`STNo` = ?)) AND ((? = 1 AND `CIN` IS NULL) OR (`CIN` = ?)) AND ((? = 1 AND `BaseCurrency` IS NULL) OR (`BaseCurrency` = ?)) AND ((? = 1 AND `CurrencyCode` IS NULL) OR (`CurrencyCode` = ?)) AND ((? = 1 AND `TicketFooterMessage` IS NULL) OR (`TicketFooterMessage` = ?)) AND ((? = 1 AND `StartBillNo` IS NULL) OR (`StartBillNo` = ?)))</CommandText>
214                     <Parameters>
215                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
216                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_HotelName" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="HotelName" SourceColumnNullMapping="true" SourceVersion="Original" />
217                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_HotelName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="HotelName" SourceColumnNullMapping="false" SourceVersion="Original" />
218                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_AddressLine1" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="AddressLine1" SourceColumnNullMapping="true" SourceVersion="Original" />
219                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_AddressLine1" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine1" SourceColumnNullMapping="false" SourceVersion="Original" />
220                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_AddressLine2" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="AddressLine2" SourceColumnNullMapping="true" SourceVersion="Original" />
221                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_AddressLine2" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine2" SourceColumnNullMapping="false" SourceVersion="Original" />
222                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_AddressLine3" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="AddressLine3" SourceColumnNullMapping="true" SourceVersion="Original" />
223                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_AddressLine3" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine3" SourceColumnNullMapping="false" SourceVersion="Original" />
224                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ContactNo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="true" SourceVersion="Original" />
225                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_ContactNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
226                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_EmailID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="true" SourceVersion="Original" />
227                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_EmailID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Original" />
228                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_TIN" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="TIN" SourceColumnNullMapping="true" SourceVersion="Original" />
229                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_TIN" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="TIN" SourceColumnNullMapping="false" SourceVersion="Original" />
230                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_STNo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="STNo" SourceColumnNullMapping="true" SourceVersion="Original" />
231                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_STNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="STNo" SourceColumnNullMapping="false" SourceVersion="Original" />
232                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_CIN" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CIN" SourceColumnNullMapping="true" SourceVersion="Original" />
233                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_CIN" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CIN" SourceColumnNullMapping="false" SourceVersion="Original" />
234                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_BaseCurrency" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="BaseCurrency" SourceColumnNullMapping="true" SourceVersion="Original" />
235                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_BaseCurrency" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="BaseCurrency" SourceColumnNullMapping="false" SourceVersion="Original" />
236                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_CurrencyCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="true" SourceVersion="Original" />
237                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_CurrencyCode" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Original" />
238                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_TicketFooterMessage" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="TicketFooterMessage" SourceColumnNullMapping="true" SourceVersion="Original" />
239                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_TicketFooterMessage" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="TicketFooterMessage" SourceColumnNullMapping="false" SourceVersion="Original" />
240                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_StartBillNo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="StartBillNo" SourceColumnNullMapping="true" SourceVersion="Original" />
241                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="Original_StartBillNo" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="StartBillNo" SourceColumnNullMapping="false" SourceVersion="Original" />
242                     </Parameters>
243                   </DbCommand>
244                 </DeleteCommand>
245                 <InsertCommand>
246                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
247                     <CommandText>INSERT INTO `Hotel` (`HotelName`, `AddressLine1`, `AddressLine2`, `AddressLine3`, `ContactNo`, `EmailID`, `TIN`, `STNo`, `CIN`, `Logo`, `BaseCurrency`, `CurrencyCode`, `TicketFooterMessage`, `StartBillNo`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)</CommandText>
248                     <Parameters>
249                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="HotelName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="HotelName" SourceColumnNullMapping="false" SourceVersion="Current" />
250                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="AddressLine1" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine1" SourceColumnNullMapping="false" SourceVersion="Current" />
251                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="AddressLine2" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine2" SourceColumnNullMapping="false" SourceVersion="Current" />
252                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="AddressLine3" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine3" SourceColumnNullMapping="false" SourceVersion="Current" />
253                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="ContactNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
254                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="EmailID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Current" />
255                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="TIN" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="TIN" SourceColumnNullMapping="false" SourceVersion="Current" />
256                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="STNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="STNo" SourceColumnNullMapping="false" SourceVersion="Current" />
257                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="CIN" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CIN" SourceColumnNullMapping="false" SourceVersion="Current" />
258                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="Logo" Precision="0" ProviderType="LongVarBinary" Scale="0" Size="0" SourceColumn="Logo" SourceColumnNullMapping="false" SourceVersion="Current" />
259                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="BaseCurrency" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="BaseCurrency" SourceColumnNullMapping="false" SourceVersion="Current" />
260                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="CurrencyCode" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Current" />
261                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="TicketFooterMessage" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="TicketFooterMessage" SourceColumnNullMapping="false" SourceVersion="Current" />
262                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="StartBillNo" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="StartBillNo" SourceColumnNullMapping="false" SourceVersion="Current" />
263                     </Parameters>
264                   </DbCommand>
265                 </InsertCommand>
266                 <SelectCommand>
267                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
268                     <CommandText>SELECT ID, HotelName, AddressLine1, AddressLine2, AddressLine3, ContactNo, EmailID, TIN, STNo, CIN, Logo, BaseCurrency, CurrencyCode, TicketFooterMessage, StartBillNo FROM Hotel</CommandText>
269                     <Parameters />
270                   </DbCommand>
271                 </SelectCommand>
272                 <UpdateCommand>
273                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
274                     <CommandText>UPDATE `Hotel` SET `HotelName` = ?, `AddressLine1` = ?, `AddressLine2` = ?, `AddressLine3` = ?, `ContactNo` = ?, `EmailID` = ?, `TIN` = ?, `STNo` = ?, `CIN` = ?, `Logo` = ?, `BaseCurrency` = ?, `CurrencyCode` = ?, `TicketFooterMessage` = ?, `StartBillNo` = ? WHERE ((`ID` = ?) AND ((? =
1 AND `HotelName` IS NULL) OR (`HotelName` = ?)) AND ((? = 1 AND `AddressLine1` IS NULL) OR (`AddressLine1` = ?)) AND ((? = 1 AND `AddressLine2` IS NULL) OR (`AddressLine2` = ?)) AND ((? = 1 AND `AddressLine3` IS NULL) OR (`AddressLine3` = ?)) AND ((? = 1 AND `ContactNo` IS NULL) OR (`ContactNo` = ?)) AND ((? = 1 AND `EmailID` IS NULL) OR (`EmailID` = ?)) AND ((? = 1 AND `TIN` IS NULL) OR (`TIN` = ?)) AND ((? = 1 AND `STNo` IS NULL) OR (`STNo` = ?)) AND ((? = 1 AND `CIN` IS NULL) OR (`CIN` = ?)) AND ((? = 1 AND `BaseCurrency` IS NULL) OR (`BaseCurrency` = ?)) AND ((? = 1 AND `CurrencyCode` IS NULL) OR (`CurrencyCode` = ?)) AND ((? = 1 AND `TicketFooterMessage` IS NULL) OR (`TicketFooterMessage` = ?)) AND ((? = 1 AND `StartBillNo` IS NULL) OR (`StartBillNo` = ?)))</CommandText>
275                     <Parameters>
276                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="HotelName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="HotelName" SourceColumnNullMapping="false" SourceVersion="Current" />
277                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="AddressLine1" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine1" SourceColumnNullMapping="false" SourceVersion="Current" />
278                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="AddressLine2" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine2" SourceColumnNullMapping="false" SourceVersion="Current" />
279                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="AddressLine3" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine3" SourceColumnNullMapping="false" SourceVersion="Current" />
280                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="ContactNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
281                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="EmailID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Current" />
282                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="TIN" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="TIN" SourceColumnNullMapping="false" SourceVersion="Current" />
283                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="STNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="STNo" SourceColumnNullMapping="false" SourceVersion="Current" />
284                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="CIN" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CIN" SourceColumnNullMapping="false" SourceVersion="Current" />
285                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="Logo" Precision="0" ProviderType="LongVarBinary" Scale="0" Size="0" SourceColumn="Logo" SourceColumnNullMapping="false" SourceVersion="Current" />
286                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="BaseCurrency" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="BaseCurrency" SourceColumnNullMapping="false" SourceVersion="Current" />
287                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="CurrencyCode" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Current" />
288                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="TicketFooterMessage" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="TicketFooterMessage" SourceColumnNullMapping="false" SourceVersion="Current" />
289                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="StartBillNo" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="StartBillNo" SourceColumnNullMapping="false" SourceVersion="Current" />
290                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
291                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_HotelName" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="HotelName" SourceColumnNullMapping="true" SourceVersion="Original" />
292                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_HotelName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="HotelName" SourceColumnNullMapping="false" SourceVersion="Original" />
293                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_AddressLine1" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="AddressLine1" SourceColumnNullMapping="true" SourceVersion="Original" />
294                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_AddressLine1" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine1" SourceColumnNullMapping="false" SourceVersion="Original" />
295                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_AddressLine2" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="AddressLine2" SourceColumnNullMapping="true" SourceVersion="Original" />
296                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_AddressLine2" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine2" SourceColumnNullMapping="false" SourceVersion="Original" />
297                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_AddressLine3" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="AddressLine3" SourceColumnNullMapping="true" SourceVersion="Original" />
298                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_AddressLine3" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine3" SourceColumnNullMapping="false" SourceVersion="Original" />
299                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ContactNo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="true" SourceVersion="Original" />
300                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_ContactNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
301                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_EmailID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="true" SourceVersion="Original" />
302                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_EmailID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Original" />
303                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_TIN" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="TIN" SourceColumnNullMapping="true" SourceVersion="Original" />
304                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_TIN" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="TIN" SourceColumnNullMapping="false" SourceVersion="Original" />
305                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_STNo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="STNo" SourceColumnNullMapping="true" SourceVersion="Original" />
306                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_STNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="STNo" SourceColumnNullMapping="false" SourceVersion="Original" />
307                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_CIN" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CIN" SourceColumnNullMapping="true" SourceVersion="Original" />
308                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_CIN" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CIN" SourceColumnNullMapping="false" SourceVersion="Original" />
309                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_BaseCurrency" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="BaseCurrency" SourceColumnNullMapping="true" SourceVersion="Original" />
310                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_BaseCurrency" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="BaseCurrency" SourceColumnNullMapping="false" SourceVersion="Original" />
311                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_CurrencyCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="true" SourceVersion="Original" />
312                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_CurrencyCode" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Original" />
313                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_TicketFooterMessage" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="TicketFooterMessage" SourceColumnNullMapping="true" SourceVersion="Original" />
314                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_TicketFooterMessage" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="TicketFooterMessage" SourceColumnNullMapping="false" SourceVersion="Original" />
315                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_StartBillNo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="StartBillNo" SourceColumnNullMapping="true" SourceVersion="Original" />
316                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="Original_StartBillNo" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="StartBillNo" SourceColumnNullMapping="false" SourceVersion="Original" />
317                     </Parameters>
318                   </DbCommand>
319                 </UpdateCommand>
320               </DbSource>
321             </MainSource>
322             <Mappings>
323               <Mapping SourceColumn=
"ID" DataSetColumn="ID" />
324               <Mapping SourceColumn=
"HotelName" DataSetColumn="HotelName" />
325               <Mapping SourceColumn=
"AddressLine1" DataSetColumn="AddressLine1" />
326               <Mapping SourceColumn=
"AddressLine2" DataSetColumn="AddressLine2" />
327               <Mapping SourceColumn=
"AddressLine3" DataSetColumn="AddressLine3" />
328               <Mapping SourceColumn=
"ContactNo" DataSetColumn="ContactNo" />
329               <Mapping SourceColumn=
"EmailID" DataSetColumn="EmailID" />
330               <Mapping SourceColumn=
"TIN" DataSetColumn="TIN" />
331               <Mapping SourceColumn=
"STNo" DataSetColumn="STNo" />
332               <Mapping SourceColumn=
"CIN" DataSetColumn="CIN" />
333               <Mapping SourceColumn=
"Logo" DataSetColumn="Logo" />
334               <Mapping SourceColumn=
"BaseCurrency" DataSetColumn="BaseCurrency" />
335               <Mapping SourceColumn=
"CurrencyCode" DataSetColumn="CurrencyCode" />
336               <Mapping SourceColumn=
"TicketFooterMessage" DataSetColumn="TicketFooterMessage" />
337               <Mapping SourceColumn=
"StartBillNo" DataSetColumn="StartBillNo" />
338             </Mappings>
339             <Sources />
340           </TableAdapter>
341           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="InventoryTypeTableAdapter" GeneratorDataComponentClassName="InventoryTypeTableAdapter" Name="InventoryType" UserDataComponentName="InventoryTypeTableAdapter">
342             <MainSource>
343               <DbSource ConnectionRef=
"RPOS_DBConnectionString (MySettings)" DbObjectName="InventoryType" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
344                 <DeleteCommand>
345                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
346                     <CommandText>DELETE FROM `InventoryType` WHERE ((`Type` = ?))</CommandText>
347                     <Parameters>
348                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Type" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Original" />
349                     </Parameters>
350                   </DbCommand>
351                 </DeleteCommand>
352                 <InsertCommand>
353                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
354                     <CommandText>INSERT INTO `InventoryType` (`Type`) VALUES (?)</CommandText>
355                     <Parameters>
356                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Type" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Current" />
357                     </Parameters>
358                   </DbCommand>
359                 </InsertCommand>
360                 <SelectCommand>
361                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
362                     <CommandText>SELECT Type FROM InventoryType</CommandText>
363                     <Parameters />
364                   </DbCommand>
365                 </SelectCommand>
366                 <UpdateCommand>
367                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
368                     <CommandText>UPDATE `InventoryType` SET `Type` = ? WHERE ((`Type` = ?))</CommandText>
369                     <Parameters>
370                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Type" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Current" />
371                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Type" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Original" />
372                     </Parameters>
373                   </DbCommand>
374                 </UpdateCommand>
375               </DbSource>
376             </MainSource>
377             <Mappings>
378               <Mapping SourceColumn=
"Type" DataSetColumn="Type" />
379             </Mappings>
380             <Sources />
381           </TableAdapter>
382           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="KitchenTableAdapter" GeneratorDataComponentClassName="KitchenTableAdapter" Name="Kitchen" UserDataComponentName="KitchenTableAdapter">
383             <MainSource>
384               <DbSource ConnectionRef=
"RPOS_DBConnectionString (MySettings)" DbObjectName="Kitchen" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
385                 <DeleteCommand>
386                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
387                     <CommandText>DELETE FROM `Kitchen` WHERE ((`KitchenName` = ?) AND ((? =
1 AND `Printer` IS NULL) OR (`Printer` = ?)) AND ((? = 1 AND `IsEnabled` IS NULL) OR (`IsEnabled` = ?)))</CommandText>
388                     <Parameters>
389                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_KitchenName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="KitchenName" SourceColumnNullMapping="false" SourceVersion="Original" />
390                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Printer" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Printer" SourceColumnNullMapping="true" SourceVersion="Original" />
391                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Printer" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Printer" SourceColumnNullMapping="false" SourceVersion="Original" />
392                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_IsEnabled" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="true" SourceVersion="Original" />
393                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_IsEnabled" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="false" SourceVersion="Original" />
394                     </Parameters>
395                   </DbCommand>
396                 </DeleteCommand>
397                 <InsertCommand>
398                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
399                     <CommandText>INSERT INTO `Kitchen` (`KitchenName`, `Printer`, `IsEnabled`) VALUES (?, ?, ?)</CommandText>
400                     <Parameters>
401                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="KitchenName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="KitchenName" SourceColumnNullMapping="false" SourceVersion="Current" />
402                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Printer" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Printer" SourceColumnNullMapping="false" SourceVersion="Current" />
403                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="IsEnabled" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="false" SourceVersion="Current" />
404                     </Parameters>
405                   </DbCommand>
406                 </InsertCommand>
407                 <SelectCommand>
408                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
409                     <CommandText>SELECT KitchenName, Printer, IsEnabled FROM Kitchen</CommandText>
410                     <Parameters />
411                   </DbCommand>
412                 </SelectCommand>
413                 <UpdateCommand>
414                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
415                     <CommandText>UPDATE `Kitchen` SET `KitchenName` = ?, `Printer` = ?, `IsEnabled` = ? WHERE ((`KitchenName` = ?) AND ((? =
1 AND `Printer` IS NULL) OR (`Printer` = ?)) AND ((? = 1 AND `IsEnabled` IS NULL) OR (`IsEnabled` = ?)))</CommandText>
416                     <Parameters>
417                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="KitchenName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="KitchenName" SourceColumnNullMapping="false" SourceVersion="Current" />
418                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Printer" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Printer" SourceColumnNullMapping="false" SourceVersion="Current" />
419                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="IsEnabled" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="false" SourceVersion="Current" />
420                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_KitchenName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="KitchenName" SourceColumnNullMapping="false" SourceVersion="Original" />
421                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Printer" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Printer" SourceColumnNullMapping="true" SourceVersion="Original" />
422                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Printer" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Printer" SourceColumnNullMapping="false" SourceVersion="Original" />
423                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_IsEnabled" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="true" SourceVersion="Original" />
424                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_IsEnabled" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="false" SourceVersion="Original" />
425                     </Parameters>
426                   </DbCommand>
427                 </UpdateCommand>
428               </DbSource>
429             </MainSource>
430             <Mappings>
431               <Mapping SourceColumn=
"KitchenName" DataSetColumn="KitchenName" />
432               <Mapping SourceColumn=
"Printer" DataSetColumn="Printer" />
433               <Mapping SourceColumn=
"IsEnabled" DataSetColumn="IsEnabled" />
434             </Mappings>
435             <Sources />
436           </TableAdapter>
437           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="KOTGenerationTableAdapter" GeneratorDataComponentClassName="KOTGenerationTableAdapter" Name="KOTGeneration" UserDataComponentName="KOTGenerationTableAdapter">
438             <MainSource>
439               <DbSource ConnectionRef=
"RPOS_DBConnectionString (MySettings)" DbObjectName="KOTGeneration" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
440                 <DeleteCommand>
441                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
442                     <CommandText>DELETE FROM `KOTGeneration` WHERE ((`TicketID` = ?) AND ((? =
1 AND `BillDate` IS NULL) OR (`BillDate` = ?)) AND ((? = 1 AND `TableNo` IS NULL) OR (`TableNo` = ?)) AND ((? = 1 AND `GroupName` IS NULL) OR (`GroupName` = ?)) AND ((? = 1 AND `GrandTotal` IS NULL) OR (`GrandTotal` = ?)) AND ((? = 1 AND `OperatorID` IS NULL) OR (`OperatorID` = ?)) AND ((? = 1 AND `BillNote` IS NULL) OR (`BillNote` = ?)) AND ((? = 1 AND `Status` IS NULL) OR (`Status` = ?)))</CommandText>
443                     <Parameters>
444                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_TicketID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="TicketID" SourceColumnNullMapping="false" SourceVersion="Original" />
445                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_BillDate" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="BillDate" SourceColumnNullMapping="true" SourceVersion="Original" />
446                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Original_BillDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="BillDate" SourceColumnNullMapping="false" SourceVersion="Original" />
447                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_TableNo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="TableNo" SourceColumnNullMapping="true" SourceVersion="Original" />
448                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_TableNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="TableNo" SourceColumnNullMapping="false" SourceVersion="Original" />
449                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_GroupName" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="true" SourceVersion="Original" />
450                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_GroupName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Original" />
451                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_GrandTotal" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="true" SourceVersion="Original" />
452                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_GrandTotal" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
453                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_OperatorID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="OperatorID" SourceColumnNullMapping="true" SourceVersion="Original" />
454                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_OperatorID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="OperatorID" SourceColumnNullMapping="false" SourceVersion="Original" />
455                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_BillNote" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="BillNote" SourceColumnNullMapping="true" SourceVersion="Original" />
456                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_BillNote" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="BillNote" SourceColumnNullMapping="false" SourceVersion="Original" />
457                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Status" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="true" SourceVersion="Original" />
458                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Status" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
459                     </Parameters>
460                   </DbCommand>
461                 </DeleteCommand>
462                 <InsertCommand>
463                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
464                     <CommandText>INSERT INTO `KOTGeneration` (`TicketID`, `BillDate`, `TableNo`, `GroupName`, `GrandTotal`, `OperatorID`, `BillNote`, `Status`) VALUES (?, ?, ?, ?, ?, ?, ?, ?)</CommandText>
465                     <Parameters>
466                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="TicketID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="TicketID" SourceColumnNullMapping="false" SourceVersion="Current" />
467                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="BillDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="BillDate" SourceColumnNullMapping="false" SourceVersion="Current" />
468                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="TableNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="TableNo" SourceColumnNullMapping="false" SourceVersion="Current" />
469                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="GroupName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Current" />
470                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="GrandTotal" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
471                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="OperatorID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="OperatorID" SourceColumnNullMapping="false" SourceVersion="Current" />
472                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="BillNote" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="BillNote" SourceColumnNullMapping="false" SourceVersion="Current" />
473                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Status" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
474                     </Parameters>
475                   </DbCommand>
476                 </InsertCommand>
477                 <SelectCommand>
478                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
479                     <CommandText>SELECT TicketID, BillDate, TableNo, GroupName, GrandTotal, OperatorID, BillNote, Status FROM KOTGeneration</CommandText>
480                     <Parameters />
481                   </DbCommand>
482                 </SelectCommand>
483                 <UpdateCommand>
484                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
485                     <CommandText>UPDATE `KOTGeneration` SET `TicketID` = ?, `BillDate` = ?, `TableNo` = ?, `GroupName` = ?, `GrandTotal` = ?, `OperatorID` = ?, `BillNote` = ?, `Status` = ? WHERE ((`TicketID` = ?) AND ((? =
1 AND `BillDate` IS NULL) OR (`BillDate` = ?)) AND ((? = 1 AND `TableNo` IS NULL) OR (`TableNo` = ?)) AND ((? = 1 AND `GroupName` IS NULL) OR (`GroupName` = ?)) AND ((? = 1 AND `GrandTotal` IS NULL) OR (`GrandTotal` = ?)) AND ((? = 1 AND `OperatorID` IS NULL) OR (`OperatorID` = ?)) AND ((? = 1 AND `BillNote` IS NULL) OR (`BillNote` = ?)) AND ((? = 1 AND `Status` IS NULL) OR (`Status` = ?)))</CommandText>
486                     <Parameters>
487                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="TicketID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="TicketID" SourceColumnNullMapping="false" SourceVersion="Current" />
488                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="BillDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="BillDate" SourceColumnNullMapping="false" SourceVersion="Current" />
489                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="TableNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="TableNo" SourceColumnNullMapping="false" SourceVersion="Current" />
490                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="GroupName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Current" />
491                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="GrandTotal" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
492                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="OperatorID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="OperatorID" SourceColumnNullMapping="false" SourceVersion="Current" />
493                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="BillNote" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="BillNote" SourceColumnNullMapping="false" SourceVersion="Current" />
494                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Status" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
495                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_TicketID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="TicketID" SourceColumnNullMapping="false" SourceVersion="Original" />
496                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_BillDate" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="BillDate" SourceColumnNullMapping="true" SourceVersion="Original" />
497                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Original_BillDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="BillDate" SourceColumnNullMapping="false" SourceVersion="Original" />
498                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_TableNo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="TableNo" SourceColumnNullMapping="true" SourceVersion="Original" />
499                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_TableNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="TableNo" SourceColumnNullMapping="false" SourceVersion="Original" />
500                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_GroupName" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="true" SourceVersion="Original" />
501                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_GroupName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Original" />
502                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_GrandTotal" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="true" SourceVersion="Original" />
503                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_GrandTotal" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
504                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_OperatorID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="OperatorID" SourceColumnNullMapping="true" SourceVersion="Original" />
505                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_OperatorID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="OperatorID" SourceColumnNullMapping="false" SourceVersion="Original" />
506                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_BillNote" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="BillNote" SourceColumnNullMapping="true" SourceVersion="Original" />
507                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_BillNote" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="BillNote" SourceColumnNullMapping="false" SourceVersion="Original" />
508                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Status" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="true" SourceVersion="Original" />
509                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Status" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
510                     </Parameters>
511                   </DbCommand>
512                 </UpdateCommand>
513               </DbSource>
514             </MainSource>
515             <Mappings>
516               <Mapping SourceColumn=
"TicketID" DataSetColumn="TicketID" />
517               <Mapping SourceColumn=
"BillDate" DataSetColumn="BillDate" />
518               <Mapping SourceColumn=
"TableNo" DataSetColumn="TableNo" />
519               <Mapping SourceColumn=
"GroupName" DataSetColumn="GroupName" />
520               <Mapping SourceColumn=
"GrandTotal" DataSetColumn="GrandTotal" />
521               <Mapping SourceColumn=
"OperatorID" DataSetColumn="OperatorID" />
522               <Mapping SourceColumn=
"BillNote" DataSetColumn="BillNote" />
523               <Mapping SourceColumn=
"Status" DataSetColumn="Status" />
524             </Mappings>
525             <Sources />
526           </TableAdapter>
527           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="KOTGenerationItemsTableAdapter" GeneratorDataComponentClassName="KOTGenerationItemsTableAdapter" Name="KOTGenerationItems" UserDataComponentName="KOTGenerationItemsTableAdapter">
528             <MainSource>
529               <DbSource ConnectionRef=
"RPOS_DBConnectionString (MySettings)" DbObjectName="KOTGenerationItems" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
530                 <DeleteCommand>
531                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
532                     <CommandText>DELETE FROM `KOTGenerationItems` WHERE ((`KOT_ID` = ?) AND ((? =
1 AND `Ticket_ID` IS NULL) OR (`Ticket_ID` = ?)) AND ((? = 1 AND `Item_ID` IS NULL) OR (`Item_ID` = ?)) AND ((? = 1 AND `Qty` IS NULL) OR (`Qty` = ?)) AND ((? = 1 AND `Rate` IS NULL) OR (`Rate` = ?)) AND ((? = 1 AND `Amount` IS NULL) OR (`Amount` = ?)) AND ((? = 1 AND `DiscPer` IS NULL) OR (`DiscPer` = ?)) AND ((? = 1 AND `Disc` IS NULL) OR (`Disc` = ?)) AND ((? = 1 AND `VATPer` IS NULL) OR (`VATPer` = ?)) AND ((? = 1 AND `VATAmt` IS NULL) OR (`VATAmt` = ?)) AND ((? = 1 AND `STPer` IS NULL) OR (`STPer` = ?)) AND ((? = 1 AND `STAmt` IS NULL) OR (`STAmt` = ?)) AND ((? = 1 AND `SCPer` IS NULL) OR (`SCPer` = ?)) AND ((? = 1 AND `SCAmt` IS NULL) OR (`SCAmt` = ?)) AND ((? = 1 AND `TotalAmt` IS NULL) OR (`TotalAmt` = ?)) AND ((? = 1 AND `ItemNote` IS NULL) OR (`ItemNote` = ?)))</CommandText>
533                     <Parameters>
534                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_KOT_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="KOT_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
535                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Ticket_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Ticket_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
536                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Ticket_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Ticket_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
537                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Item_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Item_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
538                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Item_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Item_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
539                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Qty" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="true" SourceVersion="Original" />
540                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Qty" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
541                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Rate" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Rate" SourceColumnNullMapping="true" SourceVersion="Original" />
542                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Rate" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Rate" SourceColumnNullMapping="false" SourceVersion="Original" />
543                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Amount" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Amount" SourceColumnNullMapping="true" SourceVersion="Original" />
544                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Amount" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
545                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_DiscPer" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="DiscPer" SourceColumnNullMapping="true" SourceVersion="Original" />
546                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_DiscPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="DiscPer" SourceColumnNullMapping="false" SourceVersion="Original" />
547                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Disc" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Disc" SourceColumnNullMapping="true" SourceVersion="Original" />
548                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Disc" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Disc" SourceColumnNullMapping="false" SourceVersion="Original" />
549                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_VATPer" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="true" SourceVersion="Original" />
550                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_VATPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Original" />
551                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_VATAmt" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="VATAmt" SourceColumnNullMapping="true" SourceVersion="Original" />
552                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_VATAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VATAmt" SourceColumnNullMapping="false" SourceVersion="Original" />
553                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_STPer" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="STPer" SourceColumnNullMapping="true" SourceVersion="Original" />
554                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_STPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="STPer" SourceColumnNullMapping="false" SourceVersion="Original" />
555                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_STAmt" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="STAmt" SourceColumnNullMapping="true" SourceVersion="Original" />
556                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_STAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="STAmt" SourceColumnNullMapping="false" SourceVersion="Original" />
557                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_SCPer" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="SCPer" SourceColumnNullMapping="true" SourceVersion="Original" />
558                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_SCPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SCPer" SourceColumnNullMapping="false" SourceVersion="Original" />
559                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_SCAmt" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="SCAmt" SourceColumnNullMapping="true" SourceVersion="Original" />
560                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_SCAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SCAmt" SourceColumnNullMapping="false" SourceVersion="Original" />
561                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_TotalAmt" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="TotalAmt" SourceColumnNullMapping="true" SourceVersion="Original" />
562                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_TotalAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="TotalAmt" SourceColumnNullMapping="false" SourceVersion="Original" />
563                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ItemNote" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="true" SourceVersion="Original" />
564                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_ItemNote" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="false" SourceVersion="Original" />
565                     </Parameters>
566                   </DbCommand>
567                 </DeleteCommand>
568                 <InsertCommand>
569                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
570                     <CommandText>INSERT INTO `KOTGenerationItems` (`Ticket_ID`, `Item_ID`, `Qty`, `Rate`, `Amount`, `DiscPer`, `Disc`, `VATPer`, `VATAmt`, `STPer`, `STAmt`, `SCPer`, `SCAmt`, `TotalAmt`, `ItemNote`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)</CommandText>
571                     <Parameters>
572                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Ticket_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Ticket_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
573                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Item_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Item_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
574                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Qty" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
575                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Rate" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Rate" SourceColumnNullMapping="false" SourceVersion="Current" />
576                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Amount" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
577                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="DiscPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="DiscPer" SourceColumnNullMapping="false" SourceVersion="Current" />
578                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Disc" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Disc" SourceColumnNullMapping="false" SourceVersion="Current" />
579                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="VATPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Current" />
580                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="VATAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VATAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
581                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="STPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="STPer" SourceColumnNullMapping="false" SourceVersion="Current" />
582                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="STAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="STAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
583                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="SCPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SCPer" SourceColumnNullMapping="false" SourceVersion="Current" />
584                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="SCAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SCAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
585                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="TotalAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="TotalAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
586                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="ItemNote" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="false" SourceVersion="Current" />
587                     </Parameters>
588                   </DbCommand>
589                 </InsertCommand>
590                 <SelectCommand>
591                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
592                     <CommandText>SELECT KOT_ID, Ticket_ID, Item_ID, Qty, Rate, Amount, DiscPer, Disc, VATPer, VATAmt, STPer, STAmt, SCPer, SCAmt, TotalAmt, ItemNote FROM KOTGenerationItems</CommandText>
593                     <Parameters />
594                   </DbCommand>
595                 </SelectCommand>
596                 <UpdateCommand>
597                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
598                     <CommandText>UPDATE `KOTGenerationItems` SET `Ticket_ID` = ?, `Item_ID` = ?, `Qty` = ?, `Rate` = ?, `Amount` = ?, `DiscPer` = ?, `Disc` = ?, `VATPer` = ?, `VATAmt` = ?, `STPer` = ?, `STAmt` = ?, `SCPer` = ?, `SCAmt` = ?, `TotalAmt` = ?, `ItemNote` = ? WHERE ((`KOT_ID` = ?) AND ((? =
1 AND `Ticket_ID` IS NULL) OR (`Ticket_ID` = ?)) AND ((? = 1 AND `Item_ID` IS NULL) OR (`Item_ID` = ?)) AND ((? = 1 AND `Qty` IS NULL) OR (`Qty` = ?)) AND ((? = 1 AND `Rate` IS NULL) OR (`Rate` = ?)) AND ((? = 1 AND `Amount` IS NULL) OR (`Amount` = ?)) AND ((? = 1 AND `DiscPer` IS NULL) OR (`DiscPer` = ?)) AND ((? = 1 AND `Disc` IS NULL) OR (`Disc` = ?)) AND ((? = 1 AND `VATPer` IS NULL) OR (`VATPer` = ?)) AND ((? = 1 AND `VATAmt` IS NULL) OR (`VATAmt` = ?)) AND ((? = 1 AND `STPer` IS NULL) OR (`STPer` = ?)) AND ((? = 1 AND `STAmt` IS NULL) OR (`STAmt` = ?)) AND ((? = 1 AND `SCPer` IS NULL) OR (`SCPer` = ?)) AND ((? = 1 AND `SCAmt` IS NULL) OR (`SCAmt` = ?)) AND ((? = 1 AND `TotalAmt` IS NULL) OR (`TotalAmt` = ?)) AND ((? = 1 AND `ItemNote` IS NULL) OR (`ItemNote` = ?)))</CommandText>
599                     <Parameters>
600                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Ticket_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Ticket_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
601                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Item_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Item_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
602                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Qty" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
603                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Rate" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Rate" SourceColumnNullMapping="false" SourceVersion="Current" />
604                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Amount" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
605                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="DiscPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="DiscPer" SourceColumnNullMapping="false" SourceVersion="Current" />
606                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Disc" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Disc" SourceColumnNullMapping="false" SourceVersion="Current" />
607                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="VATPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Current" />
608                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="VATAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VATAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
609                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="STPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="STPer" SourceColumnNullMapping="false" SourceVersion="Current" />
610                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="STAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="STAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
611                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="SCPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SCPer" SourceColumnNullMapping="false" SourceVersion="Current" />
612                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="SCAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SCAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
613                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="TotalAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="TotalAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
614                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="ItemNote" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="false" SourceVersion="Current" />
615                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_KOT_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="KOT_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
616                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Ticket_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Ticket_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
617                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Ticket_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Ticket_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
618                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Item_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Item_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
619                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Item_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Item_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
620                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Qty" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="true" SourceVersion="Original" />
621                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Qty" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
622                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Rate" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Rate" SourceColumnNullMapping="true" SourceVersion="Original" />
623                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Rate" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Rate" SourceColumnNullMapping="false" SourceVersion="Original" />
624                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Amount" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Amount" SourceColumnNullMapping="true" SourceVersion="Original" />
625                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Amount" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
626                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_DiscPer" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="DiscPer" SourceColumnNullMapping="true" SourceVersion="Original" />
627                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_DiscPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="DiscPer" SourceColumnNullMapping="false" SourceVersion="Original" />
628                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Disc" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Disc" SourceColumnNullMapping="true" SourceVersion="Original" />
629                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Disc" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Disc" SourceColumnNullMapping="false" SourceVersion="Original" />
630                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_VATPer" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="true" SourceVersion="Original" />
631                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_VATPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Original" />
632                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_VATAmt" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="VATAmt" SourceColumnNullMapping="true" SourceVersion="Original" />
633                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_VATAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VATAmt" SourceColumnNullMapping="false" SourceVersion="Original" />
634                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_STPer" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="STPer" SourceColumnNullMapping="true" SourceVersion="Original" />
635                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_STPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="STPer" SourceColumnNullMapping="false" SourceVersion="Original" />
636                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_STAmt" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="STAmt" SourceColumnNullMapping="true" SourceVersion="Original" />
637                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_STAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="STAmt" SourceColumnNullMapping="false" SourceVersion="Original" />
638                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_SCPer" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="SCPer" SourceColumnNullMapping="true" SourceVersion="Original" />
639                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_SCPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SCPer" SourceColumnNullMapping="false" SourceVersion="Original" />
640                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_SCAmt" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="SCAmt" SourceColumnNullMapping="true" SourceVersion="Original" />
641                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_SCAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SCAmt" SourceColumnNullMapping="false" SourceVersion="Original" />
642                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_TotalAmt" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="TotalAmt" SourceColumnNullMapping="true" SourceVersion="Original" />
643                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_TotalAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="TotalAmt" SourceColumnNullMapping="false" SourceVersion="Original" />
644                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ItemNote" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="true" SourceVersion="Original" />
645                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_ItemNote" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="false" SourceVersion="Original" />
646                     </Parameters>
647                   </DbCommand>
648                 </UpdateCommand>
649               </DbSource>
650             </MainSource>
651             <Mappings>
652               <Mapping SourceColumn=
"KOT_ID" DataSetColumn="KOT_ID" />
653               <Mapping SourceColumn=
"Ticket_ID" DataSetColumn="Ticket_ID" />
654               <Mapping SourceColumn=
"Item_ID" DataSetColumn="Item_ID" />
655               <Mapping SourceColumn=
"Qty" DataSetColumn="Qty" />
656               <Mapping SourceColumn=
"Rate" DataSetColumn="Rate" />
657               <Mapping SourceColumn=
"Amount" DataSetColumn="Amount" />
658               <Mapping SourceColumn=
"DiscPer" DataSetColumn="DiscPer" />
659               <Mapping SourceColumn=
"Disc" DataSetColumn="Disc" />
660               <Mapping SourceColumn=
"VATPer" DataSetColumn="VATPer" />
661               <Mapping SourceColumn=
"VATAmt" DataSetColumn="VATAmt" />
662               <Mapping SourceColumn=
"STPer" DataSetColumn="STPer" />
663               <Mapping SourceColumn=
"STAmt" DataSetColumn="STAmt" />
664               <Mapping SourceColumn=
"SCPer" DataSetColumn="SCPer" />
665               <Mapping SourceColumn=
"SCAmt" DataSetColumn="SCAmt" />
666               <Mapping SourceColumn=
"TotalAmt" DataSetColumn="TotalAmt" />
667               <Mapping SourceColumn=
"ItemNote" DataSetColumn="ItemNote" />
668             </Mappings>
669             <Sources />
670           </TableAdapter>
671           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LogsTableAdapter" GeneratorDataComponentClassName="LogsTableAdapter" Name="Logs" UserDataComponentName="LogsTableAdapter">
672             <MainSource>
673               <DbSource ConnectionRef=
"RPOS_DBConnectionString (MySettings)" DbObjectName="Logs" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
674                 <DeleteCommand>
675                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
676                     <CommandText>DELETE FROM `Logs` WHERE ((`ID` = ?) AND ((? =
1 AND `UserID` IS NULL) OR (`UserID` = ?)) AND ((? = 1 AND `Operation` IS NULL) OR (`Operation` = ?)) AND ((? = 1 AND `Date` IS NULL) OR (`Date` = ?)))</CommandText>
677                     <Parameters>
678                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
679                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_UserID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="true" SourceVersion="Original" />
680                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_UserID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
681                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Operation" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Operation" SourceColumnNullMapping="true" SourceVersion="Original" />
682                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Operation" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Operation" SourceColumnNullMapping="false" SourceVersion="Original" />
683                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Date" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="true" SourceVersion="Original" />
684                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Original_Date" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
685                     </Parameters>
686                   </DbCommand>
687                 </DeleteCommand>
688                 <InsertCommand>
689                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
690                     <CommandText>INSERT INTO `Logs` (`UserID`, `Operation`, `Date`) VALUES (?, ?, ?)</CommandText>
691                     <Parameters>
692                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="UserID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
693                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Operation" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Operation" SourceColumnNullMapping="false" SourceVersion="Current" />
694                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Date" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
695                     </Parameters>
696                   </DbCommand>
697                 </InsertCommand>
698                 <SelectCommand>
699                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
700                     <CommandText>SELECT ID, UserID, Operation, [Date] FROM Logs</CommandText>
701                     <Parameters />
702                   </DbCommand>
703                 </SelectCommand>
704                 <UpdateCommand>
705                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
706                     <CommandText>UPDATE `Logs` SET `UserID` = ?, `Operation` = ?, `Date` = ? WHERE ((`ID` = ?) AND ((? =
1 AND `UserID` IS NULL) OR (`UserID` = ?)) AND ((? = 1 AND `Operation` IS NULL) OR (`Operation` = ?)) AND ((? = 1 AND `Date` IS NULL) OR (`Date` = ?)))</CommandText>
707                     <Parameters>
708                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="UserID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
709                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Operation" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Operation" SourceColumnNullMapping="false" SourceVersion="Current" />
710                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Date" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
711                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
712                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_UserID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="true" SourceVersion="Original" />
713                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_UserID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
714                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Operation" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Operation" SourceColumnNullMapping="true" SourceVersion="Original" />
715                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Operation" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Operation" SourceColumnNullMapping="false" SourceVersion="Original" />
716                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Date" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="true" SourceVersion="Original" />
717                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Original_Date" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
718                     </Parameters>
719                   </DbCommand>
720                 </UpdateCommand>
721               </DbSource>
722             </MainSource>
723             <Mappings>
724               <Mapping SourceColumn=
"ID" DataSetColumn="ID" />
725               <Mapping SourceColumn=
"UserID" DataSetColumn="UserID" />
726               <Mapping SourceColumn=
"Operation" DataSetColumn="Operation" />
727               <Mapping SourceColumn=
"Date" DataSetColumn="Date" />
728             </Mappings>
729             <Sources />
730           </TableAdapter>
731           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="NotesMasterTableAdapter" GeneratorDataComponentClassName="NotesMasterTableAdapter" Name="NotesMaster" UserDataComponentName="NotesMasterTableAdapter">
732             <MainSource>
733               <DbSource ConnectionRef=
"RPOS_DBConnectionString (MySettings)" DbObjectName="NotesMaster" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
734                 <DeleteCommand>
735                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
736                     <CommandText>DELETE FROM `NotesMaster` WHERE ((`Id` = ?) AND ((? =
1 AND `Notes` IS NULL) OR (`Notes` = ?)))</CommandText>
737                     <Parameters>
738                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Id" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
739                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Notes" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="true" SourceVersion="Original" />
740                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Notes" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Original" />
741                     </Parameters>
742                   </DbCommand>
743                 </DeleteCommand>
744                 <InsertCommand>
745                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
746                     <CommandText>INSERT INTO `NotesMaster` (`Notes`) VALUES (?)</CommandText>
747                     <Parameters>
748                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Notes" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Current" />
749                     </Parameters>
750                   </DbCommand>
751                 </InsertCommand>
752                 <SelectCommand>
753                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
754                     <CommandText>SELECT Id, Notes FROM NotesMaster</CommandText>
755                     <Parameters />
756                   </DbCommand>
757                 </SelectCommand>
758                 <UpdateCommand>
759                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
760                     <CommandText>UPDATE `NotesMaster` SET `Notes` = ? WHERE ((`Id` = ?) AND ((? =
1 AND `Notes` IS NULL) OR (`Notes` = ?)))</CommandText>
761                     <Parameters>
762                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Notes" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Current" />
763                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Id" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
764                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Notes" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="true" SourceVersion="Original" />
765                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Notes" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Original" />
766                     </Parameters>
767                   </DbCommand>
768                 </UpdateCommand>
769               </DbSource>
770             </MainSource>
771             <Mappings>
772               <Mapping SourceColumn=
"Id" DataSetColumn="Id" />
773               <Mapping SourceColumn=
"Notes" DataSetColumn="Notes" />
774             </Mappings>
775             <Sources />
776           </TableAdapter>
777           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="POSGroupingTableAdapter" GeneratorDataComponentClassName="POSGroupingTableAdapter" Name="POSGrouping" UserDataComponentName="POSGroupingTableAdapter">
778             <MainSource>
779               <DbSource ConnectionRef=
"RPOS_DBConnectionString (MySettings)" DbObjectName="POSGrouping" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
780                 <DeleteCommand>
781                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
782                     <CommandText>DELETE FROM `POSGrouping` WHERE ((`Id` = ?) AND ((? =
1 AND `Col1` IS NULL) OR (`Col1` = ?)) AND ((? = 1 AND `Col2` IS NULL) OR (`Col2` = ?)) AND ((? = 1 AND `Col3` IS NULL) OR (`Col3` = ?)) AND ((? = 1 AND `Col4` IS NULL) OR (`Col4` = ?)) AND ((? = 1 AND `Col5` IS NULL) OR (`Col5` = ?)) AND ((? = 1 AND `Col6` IS NULL) OR (`Col6` = ?)) AND ((? = 1 AND `Col7` IS NULL) OR (`Col7` = ?)) AND ((? = 1 AND `Col8` IS NULL) OR (`Col8` = ?)) AND ((? = 1 AND `Col9` IS NULL) OR (`Col9` = ?)) AND ((? = 1 AND `Col10` IS NULL) OR (`Col10` = ?)) AND ((? = 1 AND `Col11` IS NULL) OR (`Col11` = ?)) AND ((? = 1 AND `Col12` IS NULL) OR (`Col12` = ?)) AND ((? = 1 AND `Col13` IS NULL) OR (`Col13` = ?)) AND ((? = 1 AND `Col14` IS NULL) OR (`Col14` = ?)) AND ((? = 1 AND `Col15` IS NULL) OR (`Col15` = ?)))</CommandText>
783                     <Parameters>
784                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Id" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
785                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col1" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col1" SourceColumnNullMapping="true" SourceVersion="Original" />
786                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Col1" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col1" SourceColumnNullMapping="false" SourceVersion="Original" />
787                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col2" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col2" SourceColumnNullMapping="true" SourceVersion="Original" />
788                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Col2" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Col2" SourceColumnNullMapping="false" SourceVersion="Original" />
789                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col3" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col3" SourceColumnNullMapping="true" SourceVersion="Original" />
790                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col3" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col3" SourceColumnNullMapping="false" SourceVersion="Original" />
791                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col4" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col4" SourceColumnNullMapping="true" SourceVersion="Original" />
792                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col4" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col4" SourceColumnNullMapping="false" SourceVersion="Original" />
793                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col5" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col5" SourceColumnNullMapping="true" SourceVersion="Original" />
794                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col5" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col5" SourceColumnNullMapping="false" SourceVersion="Original" />
795                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col6" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col6" SourceColumnNullMapping="true" SourceVersion="Original" />
796                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col6" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col6" SourceColumnNullMapping="false" SourceVersion="Original" />
797                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col7" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col7" SourceColumnNullMapping="true" SourceVersion="Original" />
798                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col7" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col7" SourceColumnNullMapping="false" SourceVersion="Original" />
799                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col8" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col8" SourceColumnNullMapping="true" SourceVersion="Original" />
800                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col8" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col8" SourceColumnNullMapping="false" SourceVersion="Original" />
801                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col9" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col9" SourceColumnNullMapping="true" SourceVersion="Original" />
802                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col9" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col9" SourceColumnNullMapping="false" SourceVersion="Original" />
803                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col10" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col10" SourceColumnNullMapping="true" SourceVersion="Original" />
804                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col10" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col10" SourceColumnNullMapping="false" SourceVersion="Original" />
805                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col11" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col11" SourceColumnNullMapping="true" SourceVersion="Original" />
806                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col11" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col11" SourceColumnNullMapping="false" SourceVersion="Original" />
807                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col12" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col12" SourceColumnNullMapping="true" SourceVersion="Original" />
808                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col12" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col12" SourceColumnNullMapping="false" SourceVersion="Original" />
809                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col13" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col13" SourceColumnNullMapping="true" SourceVersion="Original" />
810                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col13" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col13" SourceColumnNullMapping="false" SourceVersion="Original" />
811                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col14" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col14" SourceColumnNullMapping="true" SourceVersion="Original" />
812                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col14" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col14" SourceColumnNullMapping="false" SourceVersion="Original" />
813                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col15" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col15" SourceColumnNullMapping="true" SourceVersion="Original" />
814                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Col15" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Col15" SourceColumnNullMapping="false" SourceVersion="Original" />
815                     </Parameters>
816                   </DbCommand>
817                 </DeleteCommand>
818                 <InsertCommand>
819                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
820                     <CommandText>INSERT INTO `POSGrouping` (`Col1`, `Col2`, `Col3`, `Col4`, `Col5`, `Col6`, `Col7`, `Col8`, `Col9`, `Col10`, `Col11`, `Col12`, `Col13`, `Col14`, `Col15`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)</CommandText>
821                     <Parameters>
822                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Col1" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col1" SourceColumnNullMapping="false" SourceVersion="Current" />
823                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Col2" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Col2" SourceColumnNullMapping="false" SourceVersion="Current" />
824                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col3" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col3" SourceColumnNullMapping="false" SourceVersion="Current" />
825                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col4" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col4" SourceColumnNullMapping="false" SourceVersion="Current" />
826                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col5" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col5" SourceColumnNullMapping="false" SourceVersion="Current" />
827                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col6" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col6" SourceColumnNullMapping="false" SourceVersion="Current" />
828                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col7" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col7" SourceColumnNullMapping="false" SourceVersion="Current" />
829                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col8" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col8" SourceColumnNullMapping="false" SourceVersion="Current" />
830                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col9" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col9" SourceColumnNullMapping="false" SourceVersion="Current" />
831                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col10" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col10" SourceColumnNullMapping="false" SourceVersion="Current" />
832                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col11" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col11" SourceColumnNullMapping="false" SourceVersion="Current" />
833                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col12" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col12" SourceColumnNullMapping="false" SourceVersion="Current" />
834                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col13" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col13" SourceColumnNullMapping="false" SourceVersion="Current" />
835                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col14" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col14" SourceColumnNullMapping="false" SourceVersion="Current" />
836                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Col15" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Col15" SourceColumnNullMapping="false" SourceVersion="Current" />
837                     </Parameters>
838                   </DbCommand>
839                 </InsertCommand>
840                 <SelectCommand>
841                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
842                     <CommandText>SELECT Id, Col1, Col2, Col3, Col4, Col5, Col6, Col7, Col8, Col9, Col10, Col11, Col12, Col13, Col14, Col15 FROM POSGrouping</CommandText>
843                     <Parameters />
844                   </DbCommand>
845                 </SelectCommand>
846                 <UpdateCommand>
847                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
848                     <CommandText>UPDATE `POSGrouping` SET `Col1` = ?, `Col2` = ?, `Col3` = ?, `Col4` = ?, `Col5` = ?, `Col6` = ?, `Col7` = ?, `Col8` = ?, `Col9` = ?, `Col10` = ?, `Col11` = ?, `Col12` = ?, `Col13` = ?, `Col14` = ?, `Col15` = ? WHERE ((`Id` = ?) AND ((? =
1 AND `Col1` IS NULL) OR (`Col1` = ?)) AND ((? = 1 AND `Col2` IS NULL) OR (`Col2` = ?)) AND ((? = 1 AND `Col3` IS NULL) OR (`Col3` = ?)) AND ((? = 1 AND `Col4` IS NULL) OR (`Col4` = ?)) AND ((? = 1 AND `Col5` IS NULL) OR (`Col5` = ?)) AND ((? = 1 AND `Col6` IS NULL) OR (`Col6` = ?)) AND ((? = 1 AND `Col7` IS NULL) OR (`Col7` = ?)) AND ((? = 1 AND `Col8` IS NULL) OR (`Col8` = ?)) AND ((? = 1 AND `Col9` IS NULL) OR (`Col9` = ?)) AND ((? = 1 AND `Col10` IS NULL) OR (`Col10` = ?)) AND ((? = 1 AND `Col11` IS NULL) OR (`Col11` = ?)) AND ((? = 1 AND `Col12` IS NULL) OR (`Col12` = ?)) AND ((? = 1 AND `Col13` IS NULL) OR (`Col13` = ?)) AND ((? = 1 AND `Col14` IS NULL) OR (`Col14` = ?)) AND ((? = 1 AND `Col15` IS NULL) OR (`Col15` = ?)))</CommandText>
849                     <Parameters>
850                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Col1" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col1" SourceColumnNullMapping="false" SourceVersion="Current" />
851                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Col2" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Col2" SourceColumnNullMapping="false" SourceVersion="Current" />
852                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col3" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col3" SourceColumnNullMapping="false" SourceVersion="Current" />
853                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col4" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col4" SourceColumnNullMapping="false" SourceVersion="Current" />
854                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col5" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col5" SourceColumnNullMapping="false" SourceVersion="Current" />
855                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col6" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col6" SourceColumnNullMapping="false" SourceVersion="Current" />
856                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col7" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col7" SourceColumnNullMapping="false" SourceVersion="Current" />
857                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col8" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col8" SourceColumnNullMapping="false" SourceVersion="Current" />
858                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col9" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col9" SourceColumnNullMapping="false" SourceVersion="Current" />
859                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col10" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col10" SourceColumnNullMapping="false" SourceVersion="Current" />
860                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col11" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col11" SourceColumnNullMapping="false" SourceVersion="Current" />
861                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col12" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col12" SourceColumnNullMapping="false" SourceVersion="Current" />
862                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col13" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col13" SourceColumnNullMapping="false" SourceVersion="Current" />
863                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Col14" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col14" SourceColumnNullMapping="false" SourceVersion="Current" />
864                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Col15" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Col15" SourceColumnNullMapping="false" SourceVersion="Current" />
865                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Id" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
866                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col1" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col1" SourceColumnNullMapping="true" SourceVersion="Original" />
867                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Col1" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col1" SourceColumnNullMapping="false" SourceVersion="Original" />
868                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col2" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col2" SourceColumnNullMapping="true" SourceVersion="Original" />
869                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Col2" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Col2" SourceColumnNullMapping="false" SourceVersion="Original" />
870                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col3" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col3" SourceColumnNullMapping="true" SourceVersion="Original" />
871                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col3" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col3" SourceColumnNullMapping="false" SourceVersion="Original" />
872                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col4" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col4" SourceColumnNullMapping="true" SourceVersion="Original" />
873                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col4" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col4" SourceColumnNullMapping="false" SourceVersion="Original" />
874                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col5" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col5" SourceColumnNullMapping="true" SourceVersion="Original" />
875                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col5" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col5" SourceColumnNullMapping="false" SourceVersion="Original" />
876                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col6" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col6" SourceColumnNullMapping="true" SourceVersion="Original" />
877                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col6" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col6" SourceColumnNullMapping="false" SourceVersion="Original" />
878                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col7" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col7" SourceColumnNullMapping="true" SourceVersion="Original" />
879                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col7" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col7" SourceColumnNullMapping="false" SourceVersion="Original" />
880                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col8" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col8" SourceColumnNullMapping="true" SourceVersion="Original" />
881                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col8" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col8" SourceColumnNullMapping="false" SourceVersion="Original" />
882                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col9" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col9" SourceColumnNullMapping="true" SourceVersion="Original" />
883                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col9" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col9" SourceColumnNullMapping="false" SourceVersion="Original" />
884                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col10" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col10" SourceColumnNullMapping="true" SourceVersion="Original" />
885                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col10" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col10" SourceColumnNullMapping="false" SourceVersion="Original" />
886                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col11" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col11" SourceColumnNullMapping="true" SourceVersion="Original" />
887                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col11" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col11" SourceColumnNullMapping="false" SourceVersion="Original" />
888                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col12" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col12" SourceColumnNullMapping="true" SourceVersion="Original" />
889                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col12" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col12" SourceColumnNullMapping="false" SourceVersion="Original" />
890                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col13" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col13" SourceColumnNullMapping="true" SourceVersion="Original" />
891                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col13" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col13" SourceColumnNullMapping="false" SourceVersion="Original" />
892                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col14" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col14" SourceColumnNullMapping="true" SourceVersion="Original" />
893                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Col14" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Col14" SourceColumnNullMapping="false" SourceVersion="Original" />
894                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Col15" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Col15" SourceColumnNullMapping="true" SourceVersion="Original" />
895                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Col15" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Col15" SourceColumnNullMapping="false" SourceVersion="Original" />
896                     </Parameters>
897                   </DbCommand>
898                 </UpdateCommand>
899               </DbSource>
900             </MainSource>
901             <Mappings>
902               <Mapping SourceColumn=
"Id" DataSetColumn="Id" />
903               <Mapping SourceColumn=
"Col1" DataSetColumn="Col1" />
904               <Mapping SourceColumn=
"Col2" DataSetColumn="Col2" />
905               <Mapping SourceColumn=
"Col3" DataSetColumn="Col3" />
906               <Mapping SourceColumn=
"Col4" DataSetColumn="Col4" />
907               <Mapping SourceColumn=
"Col5" DataSetColumn="Col5" />
908               <Mapping SourceColumn=
"Col6" DataSetColumn="Col6" />
909               <Mapping SourceColumn=
"Col7" DataSetColumn="Col7" />
910               <Mapping SourceColumn=
"Col8" DataSetColumn="Col8" />
911               <Mapping SourceColumn=
"Col9" DataSetColumn="Col9" />
912               <Mapping SourceColumn=
"Col10" DataSetColumn="Col10" />
913               <Mapping SourceColumn=
"Col11" DataSetColumn="Col11" />
914               <Mapping SourceColumn=
"Col12" DataSetColumn="Col12" />
915               <Mapping SourceColumn=
"Col13" DataSetColumn="Col13" />
916               <Mapping SourceColumn=
"Col14" DataSetColumn="Col14" />
917               <Mapping SourceColumn=
"Col15" DataSetColumn="Col15" />
918             </Mappings>
919             <Sources />
920           </TableAdapter>
921           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="POSPrinterSettingTableAdapter" GeneratorDataComponentClassName="POSPrinterSettingTableAdapter" Name="POSPrinterSetting" UserDataComponentName="POSPrinterSettingTableAdapter">
922             <MainSource>
923               <DbSource ConnectionRef=
"RPOS_DBConnectionString (MySettings)" DbObjectName="POSPrinterSetting" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
924                 <DeleteCommand>
925                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
926                     <CommandText>DELETE FROM `POSPrinterSetting` WHERE ((`Id` = ?) AND ((? =
1 AND `PrinterName` IS NULL) OR (`PrinterName` = ?)) AND ((? = 1 AND `PrinterType` IS NULL) OR (`PrinterType` = ?)) AND ((? = 1 AND `IsEnabled` IS NULL) OR (`IsEnabled` = ?)))</CommandText>
927                     <Parameters>
928                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Id" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
929                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_PrinterName" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PrinterName" SourceColumnNullMapping="true" SourceVersion="Original" />
930                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_PrinterName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="PrinterName" SourceColumnNullMapping="false" SourceVersion="Original" />
931                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_PrinterType" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PrinterType" SourceColumnNullMapping="true" SourceVersion="Original" />
932                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_PrinterType" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="PrinterType" SourceColumnNullMapping="false" SourceVersion="Original" />
933                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_IsEnabled" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="true" SourceVersion="Original" />
934                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_IsEnabled" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="false" SourceVersion="Original" />
935                     </Parameters>
936                   </DbCommand>
937                 </DeleteCommand>
938                 <InsertCommand>
939                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
940                     <CommandText>INSERT INTO `POSPrinterSetting` (`PrinterName`, `PrinterType`, `IsEnabled`) VALUES (?, ?, ?)</CommandText>
941                     <Parameters>
942                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="PrinterName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="PrinterName" SourceColumnNullMapping="false" SourceVersion="Current" />
943                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="PrinterType" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="PrinterType" SourceColumnNullMapping="false" SourceVersion="Current" />
944                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="IsEnabled" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="false" SourceVersion="Current" />
945                     </Parameters>
946                   </DbCommand>
947                 </InsertCommand>
948                 <SelectCommand>
949                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
950                     <CommandText>SELECT Id, PrinterName, PrinterType, IsEnabled FROM POSPrinterSetting</CommandText>
951                     <Parameters />
952                   </DbCommand>
953                 </SelectCommand>
954                 <UpdateCommand>
955                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
956                     <CommandText>UPDATE `POSPrinterSetting` SET `PrinterName` = ?, `PrinterType` = ?, `IsEnabled` = ? WHERE ((`Id` = ?) AND ((? =
1 AND `PrinterName` IS NULL) OR (`PrinterName` = ?)) AND ((? = 1 AND `PrinterType` IS NULL) OR (`PrinterType` = ?)) AND ((? = 1 AND `IsEnabled` IS NULL) OR (`IsEnabled` = ?)))</CommandText>
957                     <Parameters>
958                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="PrinterName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="PrinterName" SourceColumnNullMapping="false" SourceVersion="Current" />
959                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="PrinterType" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="PrinterType" SourceColumnNullMapping="false" SourceVersion="Current" />
960                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="IsEnabled" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="false" SourceVersion="Current" />
961                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Id" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
962                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_PrinterName" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PrinterName" SourceColumnNullMapping="true" SourceVersion="Original" />
963                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_PrinterName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="PrinterName" SourceColumnNullMapping="false" SourceVersion="Original" />
964                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_PrinterType" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PrinterType" SourceColumnNullMapping="true" SourceVersion="Original" />
965                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_PrinterType" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="PrinterType" SourceColumnNullMapping="false" SourceVersion="Original" />
966                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_IsEnabled" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="true" SourceVersion="Original" />
967                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_IsEnabled" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="false" SourceVersion="Original" />
968                     </Parameters>
969                   </DbCommand>
970                 </UpdateCommand>
971               </DbSource>
972             </MainSource>
973             <Mappings>
974               <Mapping SourceColumn=
"Id" DataSetColumn="Id" />
975               <Mapping SourceColumn=
"PrinterName" DataSetColumn="PrinterName" />
976               <Mapping SourceColumn=
"PrinterType" DataSetColumn="PrinterType" />
977               <Mapping SourceColumn=
"IsEnabled" DataSetColumn="IsEnabled" />
978             </Mappings>
979             <Sources />
980           </TableAdapter>
981           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="R_TableTableAdapter" GeneratorDataComponentClassName="R_TableTableAdapter" Name="R_Table" UserDataComponentName="R_TableTableAdapter">
982             <MainSource>
983               <DbSource ConnectionRef=
"RPOS_DBConnectionString (MySettings)" DbObjectName="R_Table" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
984                 <DeleteCommand>
985                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
986                     <CommandText>DELETE FROM `R_Table` WHERE ((`TableNo` = ?) AND ((? =
1 AND `Status` IS NULL) OR (`Status` = ?)) AND ((? = 1 AND `InventoryType` IS NULL) OR (`InventoryType` = ?)))</CommandText>
987                     <Parameters>
988                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_TableNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="TableNo" SourceColumnNullMapping="false" SourceVersion="Original" />
989                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Status" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="true" SourceVersion="Original" />
990                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Status" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
991                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_InventoryType" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="InventoryType" SourceColumnNullMapping="true" SourceVersion="Original" />
992                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_InventoryType" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="InventoryType" SourceColumnNullMapping="false" SourceVersion="Original" />
993                     </Parameters>
994                   </DbCommand>
995                 </DeleteCommand>
996                 <InsertCommand>
997                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
998                     <CommandText>INSERT INTO `R_Table` (`TableNo`, `Status`, `InventoryType`) VALUES (?, ?, ?)</CommandText>
999                     <Parameters>
1000                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="TableNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="TableNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1001                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Status" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
1002                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="InventoryType" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="InventoryType" SourceColumnNullMapping="false" SourceVersion="Current" />
1003                     </Parameters>
1004                   </DbCommand>
1005                 </InsertCommand>
1006                 <SelectCommand>
1007                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1008                     <CommandText>SELECT TableNo, Status, InventoryType FROM R_Table</CommandText>
1009                     <Parameters />
1010                   </DbCommand>
1011                 </SelectCommand>
1012                 <UpdateCommand>
1013                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1014                     <CommandText>UPDATE `R_Table` SET `TableNo` = ?, `Status` = ?, `InventoryType` = ? WHERE ((`TableNo` = ?) AND ((? =
1 AND `Status` IS NULL) OR (`Status` = ?)) AND ((? = 1 AND `InventoryType` IS NULL) OR (`InventoryType` = ?)))</CommandText>
1015                     <Parameters>
1016                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="TableNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="TableNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1017                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Status" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
1018                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="InventoryType" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="InventoryType" SourceColumnNullMapping="false" SourceVersion="Current" />
1019                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_TableNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="TableNo" SourceColumnNullMapping="false" SourceVersion="Original" />
1020                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Status" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="true" SourceVersion="Original" />
1021                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Status" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
1022                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_InventoryType" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="InventoryType" SourceColumnNullMapping="true" SourceVersion="Original" />
1023                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_InventoryType" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="InventoryType" SourceColumnNullMapping="false" SourceVersion="Original" />
1024                     </Parameters>
1025                   </DbCommand>
1026                 </UpdateCommand>
1027               </DbSource>
1028             </MainSource>
1029             <Mappings>
1030               <Mapping SourceColumn=
"TableNo" DataSetColumn="TableNo" />
1031               <Mapping SourceColumn=
"Status" DataSetColumn="Status" />
1032               <Mapping SourceColumn=
"InventoryType" DataSetColumn="InventoryType" />
1033             </Mappings>
1034             <Sources />
1035           </TableAdapter>
1036           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RegistrationTableAdapter" GeneratorDataComponentClassName="RegistrationTableAdapter" Name="Registration" UserDataComponentName="RegistrationTableAdapter">
1037             <MainSource>
1038               <DbSource ConnectionRef=
"RPOS_DBConnectionString (MySettings)" DbObjectName="Registration" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1039                 <DeleteCommand>
1040                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1041                     <CommandText>DELETE FROM `Registration` WHERE ((`UserID` = ?) AND ((? =
1 AND `UserType` IS NULL) OR (`UserType` = ?)) AND ((? = 1 AND `Password` IS NULL) OR (`Password` = ?)) AND ((? = 1 AND `RegisteredName` IS NULL) OR (`RegisteredName` = ?)) AND ((? = 1 AND `ContactNo` IS NULL) OR (`ContactNo` = ?)) AND ((? = 1 AND `EmailID` IS NULL) OR (`EmailID` = ?)) AND ((? = 1 AND `JoiningDate` IS NULL) OR (`JoiningDate` = ?)) AND ((? = 1 AND `Active` IS NULL) OR (`Active` = ?)))</CommandText>
1042                     <Parameters>
1043                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_UserID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
1044                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_UserType" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="UserType" SourceColumnNullMapping="true" SourceVersion="Original" />
1045                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_UserType" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="UserType" SourceColumnNullMapping="false" SourceVersion="Original" />
1046                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Password" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="true" SourceVersion="Original" />
1047                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Password" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Original" />
1048                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_RegisteredName" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="RegisteredName" SourceColumnNullMapping="true" SourceVersion="Original" />
1049                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_RegisteredName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="RegisteredName" SourceColumnNullMapping="false" SourceVersion="Original" />
1050                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ContactNo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="true" SourceVersion="Original" />
1051                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_ContactNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
1052                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_EmailID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="true" SourceVersion="Original" />
1053                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_EmailID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Original" />
1054                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_JoiningDate" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="JoiningDate" SourceColumnNullMapping="true" SourceVersion="Original" />
1055                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Original_JoiningDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="JoiningDate" SourceColumnNullMapping="false" SourceVersion="Original" />
1056                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Active" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Active" SourceColumnNullMapping="true" SourceVersion="Original" />
1057                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Active" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Active" SourceColumnNullMapping="false" SourceVersion="Original" />
1058                     </Parameters>
1059                   </DbCommand>
1060                 </DeleteCommand>
1061                 <InsertCommand>
1062                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1063                     <CommandText>INSERT INTO `Registration` (`UserID`, `UserType`, `Password`, `RegisteredName`, `ContactNo`, `EmailID`, `JoiningDate`, `Active`) VALUES (?, ?, ?, ?, ?, ?, ?, ?)</CommandText>
1064                     <Parameters>
1065                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="UserID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
1066                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="UserType" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="UserType" SourceColumnNullMapping="false" SourceVersion="Current" />
1067                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Password" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
1068                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="RegisteredName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="RegisteredName" SourceColumnNullMapping="false" SourceVersion="Current" />
1069                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="ContactNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1070                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="EmailID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Current" />
1071                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="JoiningDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="JoiningDate" SourceColumnNullMapping="false" SourceVersion="Current" />
1072                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Active" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Active" SourceColumnNullMapping="false" SourceVersion="Current" />
1073                     </Parameters>
1074                   </DbCommand>
1075                 </InsertCommand>
1076                 <SelectCommand>
1077                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1078                     <CommandText>SELECT UserID, UserType, [Password], RegisteredName, ContactNo, EmailID, JoiningDate, Active FROM Registration</CommandText>
1079                     <Parameters />
1080                   </DbCommand>
1081                 </SelectCommand>
1082                 <UpdateCommand>
1083                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1084                     <CommandText>UPDATE `Registration` SET `UserID` = ?, `UserType` = ?, `Password` = ?, `RegisteredName` = ?, `ContactNo` = ?, `EmailID` = ?, `JoiningDate` = ?, `Active` = ? WHERE ((`UserID` = ?) AND ((? =
1 AND `UserType` IS NULL) OR (`UserType` = ?)) AND ((? = 1 AND `Password` IS NULL) OR (`Password` = ?)) AND ((? = 1 AND `RegisteredName` IS NULL) OR (`RegisteredName` = ?)) AND ((? = 1 AND `ContactNo` IS NULL) OR (`ContactNo` = ?)) AND ((? = 1 AND `EmailID` IS NULL) OR (`EmailID` = ?)) AND ((? = 1 AND `JoiningDate` IS NULL) OR (`JoiningDate` = ?)) AND ((? = 1 AND `Active` IS NULL) OR (`Active` = ?)))</CommandText>
1085                     <Parameters>
1086                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="UserID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
1087                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="UserType" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="UserType" SourceColumnNullMapping="false" SourceVersion="Current" />
1088                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Password" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
1089                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="RegisteredName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="RegisteredName" SourceColumnNullMapping="false" SourceVersion="Current" />
1090                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="ContactNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1091                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="EmailID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Current" />
1092                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="JoiningDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="JoiningDate" SourceColumnNullMapping="false" SourceVersion="Current" />
1093                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Active" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Active" SourceColumnNullMapping="false" SourceVersion="Current" />
1094                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_UserID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
1095                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_UserType" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="UserType" SourceColumnNullMapping="true" SourceVersion="Original" />
1096                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_UserType" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="UserType" SourceColumnNullMapping="false" SourceVersion="Original" />
1097                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Password" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="true" SourceVersion="Original" />
1098                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Password" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Original" />
1099                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_RegisteredName" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="RegisteredName" SourceColumnNullMapping="true" SourceVersion="Original" />
1100                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_RegisteredName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="RegisteredName" SourceColumnNullMapping="false" SourceVersion="Original" />
1101                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ContactNo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="true" SourceVersion="Original" />
1102                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_ContactNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
1103                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_EmailID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="true" SourceVersion="Original" />
1104                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_EmailID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Original" />
1105                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_JoiningDate" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="JoiningDate" SourceColumnNullMapping="true" SourceVersion="Original" />
1106                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Original_JoiningDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="JoiningDate" SourceColumnNullMapping="false" SourceVersion="Original" />
1107                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Active" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Active" SourceColumnNullMapping="true" SourceVersion="Original" />
1108                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Active" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Active" SourceColumnNullMapping="false" SourceVersion="Original" />
1109                     </Parameters>
1110                   </DbCommand>
1111                 </UpdateCommand>
1112               </DbSource>
1113             </MainSource>
1114             <Mappings>
1115               <Mapping SourceColumn=
"UserID" DataSetColumn="UserID" />
1116               <Mapping SourceColumn=
"UserType" DataSetColumn="UserType" />
1117               <Mapping SourceColumn=
"Password" DataSetColumn="Password" />
1118               <Mapping SourceColumn=
"RegisteredName" DataSetColumn="RegisteredName" />
1119               <Mapping SourceColumn=
"ContactNo" DataSetColumn="ContactNo" />
1120               <Mapping SourceColumn=
"EmailID" DataSetColumn="EmailID" />
1121               <Mapping SourceColumn=
"JoiningDate" DataSetColumn="JoiningDate" />
1122               <Mapping SourceColumn=
"Active" DataSetColumn="Active" />
1123             </Mappings>
1124             <Sources />
1125           </TableAdapter>
1126           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RestaurantBillingInfoTableAdapter" GeneratorDataComponentClassName="RestaurantBillingInfoTableAdapter" Name="RestaurantBillingInfo" UserDataComponentName="RestaurantBillingInfoTableAdapter">
1127             <MainSource>
1128               <DbSource ConnectionRef=
"RPOS_DBConnectionString (MySettings)" DbObjectName="RestaurantBillingInfo" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1129                 <DeleteCommand>
1130                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1131                     <CommandText>DELETE FROM `RestaurantBillingInfo` WHERE ((`BillId` = ?) AND ((? =
1 AND `BillType` IS NULL) OR (`BillType` = ?)) AND ((? = 1 AND `BillDate` IS NULL) OR (`BillDate` = ?)) AND ((? = 1 AND `CustomerName` IS NULL) OR (`CustomerName` = ?)) AND ((? = 1 AND `AddressLine1` IS NULL) OR (`AddressLine1` = ?)) AND ((? = 1 AND `AddressLine2` IS NULL) OR (`AddressLine2` = ?)) AND ((? = 1 AND `AddressLine3` IS NULL) OR (`AddressLine3` = ?)) AND ((? = 1 AND `ContactNo` IS NULL) OR (`ContactNo` = ?)) AND ((? = 1 AND `PaymentMode` IS NULL) OR (`PaymentMode` = ?)) AND ((? = 1 AND `SubTotal` IS NULL) OR (`SubTotal` = ?)) AND ((? = 1 AND `ItemDiscount` IS NULL) OR (`ItemDiscount` = ?)) AND ((? = 1 AND `DiscountPer` IS NULL) OR (`DiscountPer` = ?)) AND ((? = 1 AND `Discount` IS NULL) OR (`Discount` = ?)) AND ((? = 1 AND `VAT` IS NULL) OR (`VAT` = ?)) AND ((? = 1 AND `ServiceTax` IS NULL) OR (`ServiceTax` = ?)) AND ((? = 1 AND `ServiceCharges` IS NULL) OR (`ServiceCharges` = ?)) AND ((? = 1 AND `TACharges` IS NULL) OR (`TACharges` = ?)) AND ((? = 1 AND `HDCharges` IS NULL) OR (`HDCharges` = ?)) AND ((? = 1 AND `GrandTotal` IS NULL) OR (`GrandTotal` = ?)) AND ((? = 1 AND `Cash` IS NULL) OR (`Cash` = ?)) AND ((? = 1 AND `Change` IS NULL) OR (`Change` = ?)) AND ((? = 1 AND `OperatorID` IS NULL) OR (`OperatorID` = ?)) AND ((? = 1 AND `BillNote` IS NULL) OR (`BillNote` = ?)))</CommandText>
1132                     <Parameters>
1133                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_BillId" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="BillId" SourceColumnNullMapping="false" SourceVersion="Original" />
1134                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_BillType" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="BillType" SourceColumnNullMapping="true" SourceVersion="Original" />
1135                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_BillType" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="BillType" SourceColumnNullMapping="false" SourceVersion="Original" />
1136                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_BillDate" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="BillDate" SourceColumnNullMapping="true" SourceVersion="Original" />
1137                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Original_BillDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="BillDate" SourceColumnNullMapping="false" SourceVersion="Original" />
1138                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_CustomerName" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CustomerName" SourceColumnNullMapping="true" SourceVersion="Original" />
1139                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_CustomerName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CustomerName" SourceColumnNullMapping="false" SourceVersion="Original" />
1140                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_AddressLine1" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="AddressLine1" SourceColumnNullMapping="true" SourceVersion="Original" />
1141                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_AddressLine1" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine1" SourceColumnNullMapping="false" SourceVersion="Original" />
1142                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_AddressLine2" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="AddressLine2" SourceColumnNullMapping="true" SourceVersion="Original" />
1143                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_AddressLine2" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine2" SourceColumnNullMapping="false" SourceVersion="Original" />
1144                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_AddressLine3" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="AddressLine3" SourceColumnNullMapping="true" SourceVersion="Original" />
1145                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_AddressLine3" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine3" SourceColumnNullMapping="false" SourceVersion="Original" />
1146                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ContactNo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="true" SourceVersion="Original" />
1147                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_ContactNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
1148                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_PaymentMode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="true" SourceVersion="Original" />
1149                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_PaymentMode" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="false" SourceVersion="Original" />
1150                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_SubTotal" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="SubTotal" SourceColumnNullMapping="true" SourceVersion="Original" />
1151                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_SubTotal" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SubTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
1152                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ItemDiscount" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ItemDiscount" SourceColumnNullMapping="true" SourceVersion="Original" />
1153                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_ItemDiscount" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="ItemDiscount" SourceColumnNullMapping="false" SourceVersion="Original" />
1154                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_DiscountPer" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="true" SourceVersion="Original" />
1155                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_DiscountPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Original" />
1156                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Discount" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Discount" SourceColumnNullMapping="true" SourceVersion="Original" />
1157                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Discount" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
1158                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_VAT" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="VAT" SourceColumnNullMapping="true" SourceVersion="Original" />
1159                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_VAT" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Original" />
1160                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ServiceTax" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ServiceTax" SourceColumnNullMapping="true" SourceVersion="Original" />
1161                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_ServiceTax" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="ServiceTax" SourceColumnNullMapping="false" SourceVersion="Original" />
1162                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ServiceCharges" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ServiceCharges" SourceColumnNullMapping="true" SourceVersion="Original" />
1163                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_ServiceCharges" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="ServiceCharges" SourceColumnNullMapping="false" SourceVersion="Original" />
1164                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_TACharges" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="TACharges" SourceColumnNullMapping="true" SourceVersion="Original" />
1165                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_TACharges" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="TACharges" SourceColumnNullMapping="false" SourceVersion="Original" />
1166                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_HDCharges" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="HDCharges" SourceColumnNullMapping="true" SourceVersion="Original" />
1167                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_HDCharges" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="HDCharges" SourceColumnNullMapping="false" SourceVersion="Original" />
1168                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_GrandTotal" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="true" SourceVersion="Original" />
1169                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_GrandTotal" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
1170                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Cash" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Cash" SourceColumnNullMapping="true" SourceVersion="Original" />
1171                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Cash" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Cash" SourceColumnNullMapping="false" SourceVersion="Original" />
1172                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Change" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Change" SourceColumnNullMapping="true" SourceVersion="Original" />
1173                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Change" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Change" SourceColumnNullMapping="false" SourceVersion="Original" />
1174                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_OperatorID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="OperatorID" SourceColumnNullMapping="true" SourceVersion="Original" />
1175                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_OperatorID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="OperatorID" SourceColumnNullMapping="false" SourceVersion="Original" />
1176                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_BillNote" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="BillNote" SourceColumnNullMapping="true" SourceVersion="Original" />
1177                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_BillNote" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="BillNote" SourceColumnNullMapping="false" SourceVersion="Original" />
1178                     </Parameters>
1179                   </DbCommand>
1180                 </DeleteCommand>
1181                 <InsertCommand>
1182                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1183                     <CommandText>INSERT INTO `RestaurantBillingInfo` (`BillId`, `BillType`, `BillDate`, `CustomerName`, `AddressLine1`, `AddressLine2`, `AddressLine3`, `ContactNo`, `PaymentMode`, `SubTotal`, `ItemDiscount`, `DiscountPer`, `Discount`, `VAT`, `ServiceTax`, `ServiceCharges`, `TACharges`, `HDCharges`, `GrandTotal`, `Cash`, `Change`, `OperatorID`, `BillNote`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)</CommandText>
1184                     <Parameters>
1185                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="BillId" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="BillId" SourceColumnNullMapping="false" SourceVersion="Current" />
1186                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="BillType" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="BillType" SourceColumnNullMapping="false" SourceVersion="Current" />
1187                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="BillDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="BillDate" SourceColumnNullMapping="false" SourceVersion="Current" />
1188                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="CustomerName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CustomerName" SourceColumnNullMapping="false" SourceVersion="Current" />
1189                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="AddressLine1" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine1" SourceColumnNullMapping="false" SourceVersion="Current" />
1190                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="AddressLine2" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine2" SourceColumnNullMapping="false" SourceVersion="Current" />
1191                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="AddressLine3" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine3" SourceColumnNullMapping="false" SourceVersion="Current" />
1192                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="ContactNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1193                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="PaymentMode" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="false" SourceVersion="Current" />
1194                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="SubTotal" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SubTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
1195                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="ItemDiscount" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="ItemDiscount" SourceColumnNullMapping="false" SourceVersion="Current" />
1196                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="DiscountPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Current" />
1197                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Discount" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
1198                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="VAT" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Current" />
1199                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="ServiceTax" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="ServiceTax" SourceColumnNullMapping="false" SourceVersion="Current" />
1200                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="ServiceCharges" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="ServiceCharges" SourceColumnNullMapping="false" SourceVersion="Current" />
1201                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="TACharges" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="TACharges" SourceColumnNullMapping="false" SourceVersion="Current" />
1202                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="HDCharges" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="HDCharges" SourceColumnNullMapping="false" SourceVersion="Current" />
1203                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="GrandTotal" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
1204                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Cash" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Cash" SourceColumnNullMapping="false" SourceVersion="Current" />
1205                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Change" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Change" SourceColumnNullMapping="false" SourceVersion="Current" />
1206                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="OperatorID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="OperatorID" SourceColumnNullMapping="false" SourceVersion="Current" />
1207                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="BillNote" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="BillNote" SourceColumnNullMapping="false" SourceVersion="Current" />
1208                     </Parameters>
1209                   </DbCommand>
1210                 </InsertCommand>
1211                 <SelectCommand>
1212                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1213                     <CommandText>SELECT BillId, BillType, BillDate, CustomerName, AddressLine1, AddressLine2, AddressLine3, ContactNo, PaymentMode, SubTotal, ItemDiscount, DiscountPer, Discount, VAT, ServiceTax, ServiceCharges, TACharges, HDCharges, GrandTotal, Cash, Change, OperatorID, BillNote FROM RestaurantBillingInfo</CommandText>
1214                     <Parameters />
1215                   </DbCommand>
1216                 </SelectCommand>
1217                 <UpdateCommand>
1218                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1219                     <CommandText>UPDATE `RestaurantBillingInfo` SET `BillId` = ?, `BillType` = ?, `BillDate` = ?, `CustomerName` = ?, `AddressLine1` = ?, `AddressLine2` = ?, `AddressLine3` = ?, `ContactNo` = ?, `PaymentMode` = ?, `SubTotal` = ?, `ItemDiscount` = ?, `DiscountPer` = ?, `Discount` = ?, `VAT` = ?, `ServiceTax` = ?, `ServiceCharges` = ?, `TACharges` = ?, `HDCharges` = ?, `GrandTotal` = ?, `Cash` = ?, `Change` = ?, `OperatorID` = ?, `BillNote` = ? WHERE ((`BillId` = ?) AND ((? =
1 AND `BillType` IS NULL) OR (`BillType` = ?)) AND ((? = 1 AND `BillDate` IS NULL) OR (`BillDate` = ?)) AND ((? = 1 AND `CustomerName` IS NULL) OR (`CustomerName` = ?)) AND ((? = 1 AND `AddressLine1` IS NULL) OR (`AddressLine1` = ?)) AND ((? = 1 AND `AddressLine2` IS NULL) OR (`AddressLine2` = ?)) AND ((? = 1 AND `AddressLine3` IS NULL) OR (`AddressLine3` = ?)) AND ((? = 1 AND `ContactNo` IS NULL) OR (`ContactNo` = ?)) AND ((? = 1 AND `PaymentMode` IS NULL) OR (`PaymentMode` = ?)) AND ((? = 1 AND `SubTotal` IS NULL) OR (`SubTotal` = ?)) AND ((? = 1 AND `ItemDiscount` IS NULL) OR (`ItemDiscount` = ?)) AND ((? = 1 AND `DiscountPer` IS NULL) OR (`DiscountPer` = ?)) AND ((? = 1 AND `Discount` IS NULL) OR (`Discount` = ?)) AND ((? = 1 AND `VAT` IS NULL) OR (`VAT` = ?)) AND ((? = 1 AND `ServiceTax` IS NULL) OR (`ServiceTax` = ?)) AND ((? = 1 AND `ServiceCharges` IS NULL) OR (`ServiceCharges` = ?)) AND ((? = 1 AND `TACharges` IS NULL) OR (`TACharges` = ?)) AND ((? = 1 AND `HDCharges` IS NULL) OR (`HDCharges` = ?)) AND ((? = 1 AND `GrandTotal` IS NULL) OR (`GrandTotal` = ?)) AND ((? = 1 AND `Cash` IS NULL) OR (`Cash` = ?)) AND ((? = 1 AND `Change` IS NULL) OR (`Change` = ?)) AND ((? = 1 AND `OperatorID` IS NULL) OR (`OperatorID` = ?)) AND ((? = 1 AND `BillNote` IS NULL) OR (`BillNote` = ?)))</CommandText>
1220                     <Parameters>
1221                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="BillId" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="BillId" SourceColumnNullMapping="false" SourceVersion="Current" />
1222                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="BillType" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="BillType" SourceColumnNullMapping="false" SourceVersion="Current" />
1223                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="BillDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="BillDate" SourceColumnNullMapping="false" SourceVersion="Current" />
1224                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="CustomerName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CustomerName" SourceColumnNullMapping="false" SourceVersion="Current" />
1225                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="AddressLine1" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine1" SourceColumnNullMapping="false" SourceVersion="Current" />
1226                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="AddressLine2" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine2" SourceColumnNullMapping="false" SourceVersion="Current" />
1227                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="AddressLine3" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine3" SourceColumnNullMapping="false" SourceVersion="Current" />
1228                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="ContactNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1229                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="PaymentMode" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="false" SourceVersion="Current" />
1230                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="SubTotal" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SubTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
1231                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="ItemDiscount" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="ItemDiscount" SourceColumnNullMapping="false" SourceVersion="Current" />
1232                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="DiscountPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Current" />
1233                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Discount" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
1234                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="VAT" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Current" />
1235                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="ServiceTax" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="ServiceTax" SourceColumnNullMapping="false" SourceVersion="Current" />
1236                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="ServiceCharges" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="ServiceCharges" SourceColumnNullMapping="false" SourceVersion="Current" />
1237                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="TACharges" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="TACharges" SourceColumnNullMapping="false" SourceVersion="Current" />
1238                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="HDCharges" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="HDCharges" SourceColumnNullMapping="false" SourceVersion="Current" />
1239                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="GrandTotal" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
1240                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Cash" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Cash" SourceColumnNullMapping="false" SourceVersion="Current" />
1241                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Change" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Change" SourceColumnNullMapping="false" SourceVersion="Current" />
1242                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="OperatorID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="OperatorID" SourceColumnNullMapping="false" SourceVersion="Current" />
1243                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="BillNote" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="BillNote" SourceColumnNullMapping="false" SourceVersion="Current" />
1244                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_BillId" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="BillId" SourceColumnNullMapping="false" SourceVersion="Original" />
1245                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_BillType" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="BillType" SourceColumnNullMapping="true" SourceVersion="Original" />
1246                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_BillType" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="BillType" SourceColumnNullMapping="false" SourceVersion="Original" />
1247                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_BillDate" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="BillDate" SourceColumnNullMapping="true" SourceVersion="Original" />
1248                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Original_BillDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="BillDate" SourceColumnNullMapping="false" SourceVersion="Original" />
1249                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_CustomerName" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CustomerName" SourceColumnNullMapping="true" SourceVersion="Original" />
1250                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_CustomerName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CustomerName" SourceColumnNullMapping="false" SourceVersion="Original" />
1251                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_AddressLine1" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="AddressLine1" SourceColumnNullMapping="true" SourceVersion="Original" />
1252                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_AddressLine1" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine1" SourceColumnNullMapping="false" SourceVersion="Original" />
1253                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_AddressLine2" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="AddressLine2" SourceColumnNullMapping="true" SourceVersion="Original" />
1254                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_AddressLine2" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine2" SourceColumnNullMapping="false" SourceVersion="Original" />
1255                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_AddressLine3" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="AddressLine3" SourceColumnNullMapping="true" SourceVersion="Original" />
1256                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_AddressLine3" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="AddressLine3" SourceColumnNullMapping="false" SourceVersion="Original" />
1257                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ContactNo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="true" SourceVersion="Original" />
1258                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_ContactNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
1259                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_PaymentMode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="true" SourceVersion="Original" />
1260                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_PaymentMode" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="false" SourceVersion="Original" />
1261                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_SubTotal" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="SubTotal" SourceColumnNullMapping="true" SourceVersion="Original" />
1262                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_SubTotal" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SubTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
1263                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ItemDiscount" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ItemDiscount" SourceColumnNullMapping="true" SourceVersion="Original" />
1264                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_ItemDiscount" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="ItemDiscount" SourceColumnNullMapping="false" SourceVersion="Original" />
1265                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_DiscountPer" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="true" SourceVersion="Original" />
1266                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_DiscountPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Original" />
1267                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Discount" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Discount" SourceColumnNullMapping="true" SourceVersion="Original" />
1268                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Discount" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
1269                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_VAT" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="VAT" SourceColumnNullMapping="true" SourceVersion="Original" />
1270                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_VAT" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Original" />
1271                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ServiceTax" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ServiceTax" SourceColumnNullMapping="true" SourceVersion="Original" />
1272                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_ServiceTax" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="ServiceTax" SourceColumnNullMapping="false" SourceVersion="Original" />
1273                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ServiceCharges" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ServiceCharges" SourceColumnNullMapping="true" SourceVersion="Original" />
1274                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_ServiceCharges" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="ServiceCharges" SourceColumnNullMapping="false" SourceVersion="Original" />
1275                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_TACharges" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="TACharges" SourceColumnNullMapping="true" SourceVersion="Original" />
1276                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_TACharges" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="TACharges" SourceColumnNullMapping="false" SourceVersion="Original" />
1277                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_HDCharges" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="HDCharges" SourceColumnNullMapping="true" SourceVersion="Original" />
1278                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_HDCharges" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="HDCharges" SourceColumnNullMapping="false" SourceVersion="Original" />
1279                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_GrandTotal" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="true" SourceVersion="Original" />
1280                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_GrandTotal" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
1281                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Cash" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Cash" SourceColumnNullMapping="true" SourceVersion="Original" />
1282                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Cash" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Cash" SourceColumnNullMapping="false" SourceVersion="Original" />
1283                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Change" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Change" SourceColumnNullMapping="true" SourceVersion="Original" />
1284                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Change" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Change" SourceColumnNullMapping="false" SourceVersion="Original" />
1285                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_OperatorID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="OperatorID" SourceColumnNullMapping="true" SourceVersion="Original" />
1286                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_OperatorID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="OperatorID" SourceColumnNullMapping="false" SourceVersion="Original" />
1287                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_BillNote" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="BillNote" SourceColumnNullMapping="true" SourceVersion="Original" />
1288                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_BillNote" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="BillNote" SourceColumnNullMapping="false" SourceVersion="Original" />
1289                     </Parameters>
1290                   </DbCommand>
1291                 </UpdateCommand>
1292               </DbSource>
1293             </MainSource>
1294             <Mappings>
1295               <Mapping SourceColumn=
"BillId" DataSetColumn="BillId" />
1296               <Mapping SourceColumn=
"BillType" DataSetColumn="BillType" />
1297               <Mapping SourceColumn=
"BillDate" DataSetColumn="BillDate" />
1298               <Mapping SourceColumn=
"CustomerName" DataSetColumn="CustomerName" />
1299               <Mapping SourceColumn=
"AddressLine1" DataSetColumn="AddressLine1" />
1300               <Mapping SourceColumn=
"AddressLine2" DataSetColumn="AddressLine2" />
1301               <Mapping SourceColumn=
"AddressLine3" DataSetColumn="AddressLine3" />
1302               <Mapping SourceColumn=
"ContactNo" DataSetColumn="ContactNo" />
1303               <Mapping SourceColumn=
"PaymentMode" DataSetColumn="PaymentMode" />
1304               <Mapping SourceColumn=
"SubTotal" DataSetColumn="SubTotal" />
1305               <Mapping SourceColumn=
"ItemDiscount" DataSetColumn="ItemDiscount" />
1306               <Mapping SourceColumn=
"DiscountPer" DataSetColumn="DiscountPer" />
1307               <Mapping SourceColumn=
"Discount" DataSetColumn="Discount" />
1308               <Mapping SourceColumn=
"VAT" DataSetColumn="VAT" />
1309               <Mapping SourceColumn=
"ServiceTax" DataSetColumn="ServiceTax" />
1310               <Mapping SourceColumn=
"ServiceCharges" DataSetColumn="ServiceCharges" />
1311               <Mapping SourceColumn=
"TACharges" DataSetColumn="TACharges" />
1312               <Mapping SourceColumn=
"HDCharges" DataSetColumn="HDCharges" />
1313               <Mapping SourceColumn=
"GrandTotal" DataSetColumn="GrandTotal" />
1314               <Mapping SourceColumn=
"Cash" DataSetColumn="Cash" />
1315               <Mapping SourceColumn=
"Change" DataSetColumn="Change" />
1316               <Mapping SourceColumn=
"OperatorID" DataSetColumn="OperatorID" />
1317               <Mapping SourceColumn=
"BillNote" DataSetColumn="BillNote" />
1318             </Mappings>
1319             <Sources />
1320           </TableAdapter>
1321           <TableAdapter BaseClass=
"System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RestaurantBillingItemsTableAdapter" GeneratorDataComponentClassName="RestaurantBillingItemsTableAdapter" Name="RestaurantBillingItems" UserDataComponentName="RestaurantBillingItemsTableAdapter">
1322             <MainSource>
1323               <DbSource ConnectionRef=
"RPOS_DBConnectionString (MySettings)" DbObjectName="RestaurantBillingItems" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1324                 <DeleteCommand>
1325                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1326                     <CommandText>DELETE FROM `RestaurantBillingItems` WHERE ((`P_ID` = ?) AND ((? =
1 AND `B_ID` IS NULL) OR (`B_ID` = ?)) AND ((? = 1 AND `Item_ID` IS NULL) OR (`Item_ID` = ?)) AND ((? = 1 AND `Qty` IS NULL) OR (`Qty` = ?)) AND ((? = 1 AND `Rate` IS NULL) OR (`Rate` = ?)) AND ((? = 1 AND `Amount` IS NULL) OR (`Amount` = ?)) AND ((? = 1 AND `DiscPer` IS NULL) OR (`DiscPer` = ?)) AND ((? = 1 AND `Disc` IS NULL) OR (`Disc` = ?)) AND ((? = 1 AND `VATPer` IS NULL) OR (`VATPer` = ?)) AND ((? = 1 AND `VATAmt` IS NULL) OR (`VATAmt` = ?)) AND ((? = 1 AND `STPer` IS NULL) OR (`STPer` = ?)) AND ((? = 1 AND `STAmt` IS NULL) OR (`STAmt` = ?)) AND ((? = 1 AND `SCPer` IS NULL) OR (`SCPer` = ?)) AND ((? = 1 AND `SCAmt` IS NULL) OR (`SCAmt` = ?)) AND ((? = 1 AND `TotalAmt` IS NULL) OR (`TotalAmt` = ?)) AND ((? = 1 AND `ItemNote` IS NULL) OR (`ItemNote` = ?)) AND ((? = 1 AND `TableNo` IS NULL) OR (`TableNo` = ?)) AND ((? = 1 AND `GroupName` IS NULL) OR (`GroupName` = ?)))</CommandText>
1327                     <Parameters>
1328                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_P_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="P_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1329                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_B_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="B_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
1330                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_B_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="B_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1331                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Item_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Item_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
1332                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Item_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Item_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1333                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Qty" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="true" SourceVersion="Original" />
1334                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Qty" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
1335                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Rate" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Rate" SourceColumnNullMapping="true" SourceVersion="Original" />
1336                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Rate" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Rate" SourceColumnNullMapping="false" SourceVersion="Original" />
1337                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Amount" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Amount" SourceColumnNullMapping="true" SourceVersion="Original" />
1338                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Amount" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
1339                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_DiscPer" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="DiscPer" SourceColumnNullMapping="true" SourceVersion="Original" />
1340                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_DiscPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="DiscPer" SourceColumnNullMapping="false" SourceVersion="Original" />
1341                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Disc" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Disc" SourceColumnNullMapping="true" SourceVersion="Original" />
1342                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Disc" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Disc" SourceColumnNullMapping="false" SourceVersion="Original" />
1343                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_VATPer" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="true" SourceVersion="Original" />
1344                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_VATPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Original" />
1345                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_VATAmt" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="VATAmt" SourceColumnNullMapping="true" SourceVersion="Original" />
1346                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_VATAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VATAmt" SourceColumnNullMapping="false" SourceVersion="Original" />
1347                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_STPer" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="STPer" SourceColumnNullMapping="true" SourceVersion="Original" />
1348                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_STPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="STPer" SourceColumnNullMapping="false" SourceVersion="Original" />
1349                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_STAmt" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="STAmt" SourceColumnNullMapping="true" SourceVersion="Original" />
1350                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_STAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="STAmt" SourceColumnNullMapping="false" SourceVersion="Original" />
1351                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_SCPer" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="SCPer" SourceColumnNullMapping="true" SourceVersion="Original" />
1352                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_SCPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SCPer" SourceColumnNullMapping="false" SourceVersion="Original" />
1353                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_SCAmt" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="SCAmt" SourceColumnNullMapping="true" SourceVersion="Original" />
1354                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_SCAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SCAmt" SourceColumnNullMapping="false" SourceVersion="Original" />
1355                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_TotalAmt" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="TotalAmt" SourceColumnNullMapping="true" SourceVersion="Original" />
1356                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_TotalAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="TotalAmt" SourceColumnNullMapping="false" SourceVersion="Original" />
1357                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ItemNote" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="true" SourceVersion="Original" />
1358                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_ItemNote" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="false" SourceVersion="Original" />
1359                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_TableNo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="TableNo" SourceColumnNullMapping="true" SourceVersion="Original" />
1360                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_TableNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="TableNo" SourceColumnNullMapping="false" SourceVersion="Original" />
1361                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_GroupName" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="true" SourceVersion="Original" />
1362                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_GroupName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Original" />
1363                     </Parameters>
1364                   </DbCommand>
1365                 </DeleteCommand>
1366                 <InsertCommand>
1367                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1368                     <CommandText>INSERT INTO `RestaurantBillingItems` (`B_ID`, `Item_ID`, `Qty`, `Rate`, `Amount`, `DiscPer`, `Disc`, `VATPer`, `VATAmt`, `STPer`, `STAmt`, `SCPer`, `SCAmt`, `TotalAmt`, `ItemNote`, `TableNo`, `GroupName`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)</CommandText>
1369                     <Parameters>
1370                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="B_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="B_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1371                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Item_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Item_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1372                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Qty" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
1373                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Rate" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Rate" SourceColumnNullMapping="false" SourceVersion="Current" />
1374                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Amount" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
1375                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="DiscPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="DiscPer" SourceColumnNullMapping="false" SourceVersion="Current" />
1376                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Disc" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Disc" SourceColumnNullMapping="false" SourceVersion="Current" />
1377                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="VATPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Current" />
1378                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="VATAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VATAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
1379                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="STPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="STPer" SourceColumnNullMapping="false" SourceVersion="Current" />
1380                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="STAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="STAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
1381                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="SCPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SCPer" SourceColumnNullMapping="false" SourceVersion="Current" />
1382                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="SCAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SCAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
1383                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="TotalAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="TotalAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
1384                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="ItemNote" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="false" SourceVersion="Current" />
1385                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="TableNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="TableNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1386                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="GroupName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Current" />
1387                     </Parameters>
1388                   </DbCommand>
1389                 </InsertCommand>
1390                 <SelectCommand>
1391                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1392                     <CommandText>SELECT P_ID, B_ID, Item_ID, Qty, Rate, Amount, DiscPer, Disc, VATPer, VATAmt, STPer, STAmt, SCPer, SCAmt, TotalAmt, ItemNote, TableNo, GroupName FROM RestaurantBillingItems</CommandText>
1393                     <Parameters />
1394                   </DbCommand>
1395                 </SelectCommand>
1396                 <UpdateCommand>
1397                   <DbCommand CommandType=
"Text" ModifiedByUser="false">
1398                     <CommandText>UPDATE `RestaurantBillingItems` SET `B_ID` = ?, `Item_ID` = ?, `Qty` = ?, `Rate` = ?, `Amount` = ?, `DiscPer` = ?, `Disc` = ?, `VATPer` = ?, `VATAmt` = ?, `STPer` = ?, `STAmt` = ?, `SCPer` = ?, `SCAmt` = ?, `TotalAmt` = ?, `ItemNote` = ?, `TableNo` = ?, `GroupName` = ? WHERE ((`P_ID` = ?) AND ((? =
1 AND `B_ID` IS NULL) OR (`B_ID` = ?)) AND ((? = 1 AND `Item_ID` IS NULL) OR (`Item_ID` = ?)) AND ((? = 1 AND `Qty` IS NULL) OR (`Qty` = ?)) AND ((? = 1 AND `Rate` IS NULL) OR (`Rate` = ?)) AND ((? = 1 AND `Amount` IS NULL) OR (`Amount` = ?)) AND ((? = 1 AND `DiscPer` IS NULL) OR (`DiscPer` = ?)) AND ((? = 1 AND `Disc` IS NULL) OR (`Disc` = ?)) AND ((? = 1 AND `VATPer` IS NULL) OR (`VATPer` = ?)) AND ((? = 1 AND `VATAmt` IS NULL) OR (`VATAmt` = ?)) AND ((? = 1 AND `STPer` IS NULL) OR (`STPer` = ?)) AND ((? = 1 AND `STAmt` IS NULL) OR (`STAmt` = ?)) AND ((? = 1 AND `SCPer` IS NULL) OR (`SCPer` = ?)) AND ((? = 1 AND `SCAmt` IS NULL) OR (`SCAmt` = ?)) AND ((? = 1 AND `TotalAmt` IS NULL) OR (`TotalAmt` = ?)) AND ((? = 1 AND `ItemNote` IS NULL) OR (`ItemNote` = ?)) AND ((? = 1 AND `TableNo` IS NULL) OR (`TableNo` = ?)) AND ((? = 1 AND `GroupName` IS NULL) OR (`GroupName` = ?)))</CommandText>
1399                     <Parameters>
1400                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="B_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="B_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1401                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Item_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Item_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1402                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Qty" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
1403                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Rate" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Rate" SourceColumnNullMapping="false" SourceVersion="Current" />
1404                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Amount" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
1405                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="DiscPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="DiscPer" SourceColumnNullMapping="false" SourceVersion="Current" />
1406                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Disc" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Disc" SourceColumnNullMapping="false" SourceVersion="Current" />
1407                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="VATPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Current" />
1408                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="VATAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VATAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
1409                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="STPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="STPer" SourceColumnNullMapping="false" SourceVersion="Current" />
1410                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="STAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="STAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
1411                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="SCPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SCPer" SourceColumnNullMapping="false" SourceVersion="Current" />
1412                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="SCAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SCAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
1413                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="TotalAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="TotalAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
1414                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="ItemNote" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="false" SourceVersion="Current" />
1415                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="TableNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="TableNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1416                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="GroupName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Current" />
1417                       <Parameter AllowDbNull=
"false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_P_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="P_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1418                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_B_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="B_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
1419                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_B_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="B_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1420                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Item_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Item_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
1421                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Item_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Item_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1422                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Qty" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="true" SourceVersion="Original" />
1423                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Qty" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
1424                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Rate" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Rate" SourceColumnNullMapping="true" SourceVersion="Original" />
1425                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Rate" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Rate" SourceColumnNullMapping="false" SourceVersion="Original" />
1426                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Amount" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Amount" SourceColumnNullMapping="true" SourceVersion="Original" />
1427                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Amount" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
1428                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_DiscPer" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="DiscPer" SourceColumnNullMapping="true" SourceVersion="Original" />
1429                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_DiscPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="DiscPer" SourceColumnNullMapping="false" SourceVersion="Original" />
1430                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Disc" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Disc" SourceColumnNullMapping="true" SourceVersion="Original" />
1431                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_Disc" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="Disc" SourceColumnNullMapping="false" SourceVersion="Original" />
1432                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_VATPer" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="true" SourceVersion="Original" />
1433                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_VATPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Original" />
1434                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_VATAmt" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="VATAmt" SourceColumnNullMapping="true" SourceVersion="Original" />
1435                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_VATAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="VATAmt" SourceColumnNullMapping="false" SourceVersion="Original" />
1436                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_STPer" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="STPer" SourceColumnNullMapping="true" SourceVersion="Original" />
1437                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_STPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="STPer" SourceColumnNullMapping="false" SourceVersion="Original" />
1438                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_STAmt" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="STAmt" SourceColumnNullMapping="true" SourceVersion="Original" />
1439                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_STAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="STAmt" SourceColumnNullMapping="false" SourceVersion="Original" />
1440                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_SCPer" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="SCPer" SourceColumnNullMapping="true" SourceVersion="Original" />
1441                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_SCPer" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SCPer" SourceColumnNullMapping="false" SourceVersion="Original" />
1442                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_SCAmt" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="SCAmt" SourceColumnNullMapping="true" SourceVersion="Original" />
1443                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_SCAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="SCAmt" SourceColumnNullMapping="false" SourceVersion="Original" />
1444                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_TotalAmt" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="TotalAmt" SourceColumnNullMapping="true" SourceVersion="Original" />
1445                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_TotalAmt" Precision="18" ProviderType="Numeric" Scale="2" Size="0" SourceColumn="TotalAmt" SourceColumnNullMapping="false" SourceVersion="Original" />
1446                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ItemNote" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="true" SourceVersion="Original" />
1447                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_ItemNote" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="false" SourceVersion="Original" />
1448                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_TableNo" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="TableNo" SourceColumnNullMapping="true" SourceVersion="Original" />
1449                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_TableNo" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="TableNo" SourceColumnNullMapping="false" SourceVersion="Original" />
1450                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_GroupName" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="true" SourceVersion="Original" />
1451                       <Parameter AllowDbNull=
"true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_GroupName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Original" />
1452                     </Parameters>
1453                   </DbCommand>
1454                 </UpdateCommand>
1455               </DbSource>
1456             </MainSource>
1457             <Mappings>
1458               <Mapping SourceColumn=
"P_ID" DataSetColumn="P_ID" />
1459               <Mapping SourceColumn=
"B_ID" DataSetColumn="B_ID" />
1460               <Mapping SourceColumn=
"Item_ID" DataSetColumn="Item_ID" />
1461               <Mapping SourceColumn=
"Qty" DataSetColumn="Qty" />
1462               <Mapping SourceColumn=
"Rate" DataSetColumn="Rate" />
1463               <Mapping SourceColumn=
"Amount" DataSetColumn="Amount" />
1464               <Mapping SourceColumn=
"DiscPer" DataSetColumn="DiscPer" />
1465               <Mapping SourceColumn=
"Disc" DataSetColumn="Disc" />
1466               <Mapping SourceColumn=
"VATPer" DataSetColumn="VATPer" />
1467               <Mapping SourceColumn=
"VATAmt" DataSetColumn="VATAmt" />
1468               <Mapping SourceColumn=
"STPer" DataSetColumn="STPer" />
1469               <Mapping SourceColumn=
"STAmt" DataSetColumn="STAmt" />
1470               <Mapping SourceColumn=
"SCPer" DataSetColumn="SCPer" />
1471               <Mapping SourceColumn=
"SCAmt" DataSetColumn="SCAmt" />
1472               <Mapping SourceColumn=
"TotalAmt" DataSetColumn="TotalAmt" />
1473               <Mapping SourceColumn=
"ItemNote" DataSetColumn="ItemNote" />
1474               <Mapping SourceColumn=
"TableNo" DataSetColumn="TableNo" />
1475               <Mapping SourceColumn=
"GroupName" DataSetColumn="GroupName" />
1476             </Mappings>
1477             <Sources />
1478           </TableAdapter>
1479         </Tables>
1480         <Sources />
1481       </DataSource>
1482     </xs:appinfo>
1483   </xs:annotation>
1484   <xs:element name=
"RPOS_DBDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="RPOS_DBDataSet" msprop:Generator_UserDSName="RPOS_DBDataSet">
1485     <xs:complexType>
1486       <xs:choice minOccurs=
"0" maxOccurs="unbounded">
1487         <xs:element name=
"Activation" msprop:Generator_TableClassName="ActivationDataTable" msprop:Generator_TableVarName="tableActivation" msprop:Generator_TablePropName="Activation" msprop:Generator_RowDeletingName="ActivationRowDeleting" msprop:Generator_RowChangingName="ActivationRowChanging" msprop:Generator_RowEvHandlerName="ActivationRowChangeEventHandler" msprop:Generator_RowDeletedName="ActivationRowDeleted" msprop:Generator_UserTableName="Activation" msprop:Generator_RowChangedName="ActivationRowChanged" msprop:Generator_RowEvArgName="ActivationRowChangeEvent" msprop:Generator_RowClassName="ActivationRow">
1488           <xs:complexType>
1489             <xs:sequence>
1490               <xs:element name=
"Id" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
1491               <xs:element name=
"HardwareID" msprop:Generator_ColumnVarNameInTable="columnHardwareID" msprop:Generator_ColumnPropNameInRow="HardwareID" msprop:Generator_ColumnPropNameInTable="HardwareIDColumn" msprop:Generator_UserColumnName="HardwareID" minOccurs="0">
1492                 <xs:simpleType>
1493                   <xs:restriction
base="xs:string">
1494                     <xs:maxLength
value="255" />
1495                   </xs:restriction>
1496                 </xs:simpleType>
1497               </xs:element>
1498               <xs:element name=
"ActivationID" msprop:Generator_ColumnVarNameInTable="columnActivationID" msprop:Generator_ColumnPropNameInRow="ActivationID" msprop:Generator_ColumnPropNameInTable="ActivationIDColumn" msprop:Generator_UserColumnName="ActivationID" minOccurs="0">
1499                 <xs:simpleType>
1500                   <xs:restriction
base="xs:string">
1501                     <xs:maxLength
value="255" />
1502                   </xs:restriction>
1503                 </xs:simpleType>
1504               </xs:element>
1505             </xs:sequence>
1506           </xs:complexType>
1507         </xs:element>
1508         <xs:element name=
"Category" msprop:Generator_TableClassName="CategoryDataTable" msprop:Generator_TableVarName="tableCategory" msprop:Generator_TablePropName="Category" msprop:Generator_RowDeletingName="CategoryRowDeleting" msprop:Generator_RowChangingName="CategoryRowChanging" msprop:Generator_RowEvHandlerName="CategoryRowChangeEventHandler" msprop:Generator_RowDeletedName="CategoryRowDeleted" msprop:Generator_UserTableName="Category" msprop:Generator_RowChangedName="CategoryRowChanged" msprop:Generator_RowEvArgName="CategoryRowChangeEvent" msprop:Generator_RowClassName="CategoryRow">
1509           <xs:complexType>
1510             <xs:sequence>
1511               <xs:element name=
"CategoryName" msprop:Generator_ColumnVarNameInTable="columnCategoryName" msprop:Generator_ColumnPropNameInRow="CategoryName" msprop:Generator_ColumnPropNameInTable="CategoryNameColumn" msprop:Generator_UserColumnName="CategoryName">
1512                 <xs:simpleType>
1513                   <xs:restriction
base="xs:string">
1514                     <xs:maxLength
value="255" />
1515                   </xs:restriction>
1516                 </xs:simpleType>
1517               </xs:element>
1518               <xs:element name=
"VAT" msprop:Generator_ColumnVarNameInTable="columnVAT" msprop:Generator_ColumnPropNameInRow="VAT" msprop:Generator_ColumnPropNameInTable="VATColumn" msprop:Generator_UserColumnName="VAT" type="xs:decimal" minOccurs="0" />
1519               <xs:element name=
"ST" msprop:Generator_ColumnVarNameInTable="columnST" msprop:Generator_ColumnPropNameInRow="ST" msprop:Generator_ColumnPropNameInTable="STColumn" msprop:Generator_UserColumnName="ST" type="xs:decimal" minOccurs="0" />
1520               <xs:element name=
"SC" msprop:Generator_ColumnVarNameInTable="columnSC" msprop:Generator_ColumnPropNameInRow="SC" msprop:Generator_ColumnPropNameInTable="SCColumn" msprop:Generator_UserColumnName="SC" type="xs:decimal" minOccurs="0" />
1521             </xs:sequence>
1522           </xs:complexType>
1523         </xs:element>
1524         <xs:element name=
"Dish" msprop:Generator_TableClassName="DishDataTable" msprop:Generator_TableVarName="tableDish" msprop:Generator_TablePropName="Dish" msprop:Generator_RowDeletingName="DishRowDeleting" msprop:Generator_RowChangingName="DishRowChanging" msprop:Generator_RowEvHandlerName="DishRowChangeEventHandler" msprop:Generator_RowDeletedName="DishRowDeleted" msprop:Generator_UserTableName="Dish" msprop:Generator_RowChangedName="DishRowChanged" msprop:Generator_RowEvArgName="DishRowChangeEvent" msprop:Generator_RowClassName="DishRow">
1525           <xs:complexType>
1526             <xs:sequence>
1527               <xs:element name=
"ItemID" msprop:Generator_ColumnVarNameInTable="columnItemID" msprop:Generator_ColumnPropNameInRow="ItemID" msprop:Generator_ColumnPropNameInTable="ItemIDColumn" msprop:Generator_UserColumnName="ItemID" type="xs:int" />
1528               <xs:element name=
"Dishname" msprop:Generator_ColumnVarNameInTable="columnDishname" msprop:Generator_ColumnPropNameInRow="Dishname" msprop:Generator_ColumnPropNameInTable="DishnameColumn" msprop:Generator_UserColumnName="Dishname" minOccurs="0">
1529                 <xs:simpleType>
1530                   <xs:restriction
base="xs:string">
1531                     <xs:maxLength
value="255" />
1532                   </xs:restriction>
1533                 </xs:simpleType>
1534               </xs:element>
1535               <xs:element name=
"Category" msprop:Generator_ColumnVarNameInTable="columnCategory" msprop:Generator_ColumnPropNameInRow="Category" msprop:Generator_ColumnPropNameInTable="CategoryColumn" msprop:Generator_UserColumnName="Category" minOccurs="0">
1536                 <xs:simpleType>
1537                   <xs:restriction
base="xs:string">
1538                     <xs:maxLength
value="255" />
1539                   </xs:restriction>
1540                 </xs:simpleType>
1541               </xs:element>
1542               <xs:element name=
"Kitchen" msprop:Generator_ColumnVarNameInTable="columnKitchen" msprop:Generator_ColumnPropNameInRow="Kitchen" msprop:Generator_ColumnPropNameInTable="KitchenColumn" msprop:Generator_UserColumnName="Kitchen" minOccurs="0">
1543                 <xs:simpleType>
1544                   <xs:restriction
base="xs:string">
1545                     <xs:maxLength
value="255" />
1546                   </xs:restriction>
1547                 </xs:simpleType>
1548               </xs:element>
1549               <xs:element name=
"InventoryType" msprop:Generator_ColumnVarNameInTable="columnInventoryType" msprop:Generator_ColumnPropNameInRow="InventoryType" msprop:Generator_ColumnPropNameInTable="InventoryTypeColumn" msprop:Generator_UserColumnName="InventoryType" minOccurs="0">
1550                 <xs:simpleType>
1551                   <xs:restriction
base="xs:string">
1552                     <xs:maxLength
value="255" />
1553                   </xs:restriction>
1554                 </xs:simpleType>
1555               </xs:element>
1556               <xs:element name=
"Rate" msprop:Generator_ColumnVarNameInTable="columnRate" msprop:Generator_ColumnPropNameInRow="Rate" msprop:Generator_ColumnPropNameInTable="RateColumn" msprop:Generator_UserColumnName="Rate" type="xs:decimal" minOccurs="0" />
1557               <xs:element name=
"Discount" msprop:Generator_ColumnVarNameInTable="columnDiscount" msprop:Generator_ColumnPropNameInRow="Discount" msprop:Generator_ColumnPropNameInTable="DiscountColumn" msprop:Generator_UserColumnName="Discount" type="xs:decimal" minOccurs="0" />
1558             </xs:sequence>
1559           </xs:complexType>
1560         </xs:element>
1561         <xs:element name=
"Hotel" msprop:Generator_TableClassName="HotelDataTable" msprop:Generator_TableVarName="tableHotel" msprop:Generator_TablePropName="Hotel" msprop:Generator_RowDeletingName="HotelRowDeleting" msprop:Generator_RowChangingName="HotelRowChanging" msprop:Generator_RowEvHandlerName="HotelRowChangeEventHandler" msprop:Generator_RowDeletedName="HotelRowDeleted" msprop:Generator_UserTableName="Hotel" msprop:Generator_RowChangedName="HotelRowChanged" msprop:Generator_RowEvArgName="HotelRowChangeEvent" msprop:Generator_RowClassName="HotelRow">
1562           <xs:complexType>
1563             <xs:sequence>
1564               <xs:element name=
"ID" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
1565               <xs:element name=
"HotelName" msprop:Generator_ColumnVarNameInTable="columnHotelName" msprop:Generator_ColumnPropNameInRow="HotelName" msprop:Generator_ColumnPropNameInTable="HotelNameColumn" msprop:Generator_UserColumnName="HotelName" minOccurs="0">
1566                 <xs:simpleType>
1567                   <xs:restriction
base="xs:string">
1568                     <xs:maxLength
value="255" />
1569                   </xs:restriction>
1570                 </xs:simpleType>
1571               </xs:element>
1572               <xs:element name=
"AddressLine1" msprop:Generator_ColumnVarNameInTable="columnAddressLine1" msprop:Generator_ColumnPropNameInRow="AddressLine1" msprop:Generator_ColumnPropNameInTable="AddressLine1Column" msprop:Generator_UserColumnName="AddressLine1" minOccurs="0">
1573                 <xs:simpleType>
1574                   <xs:restriction
base="xs:string">
1575                     <xs:maxLength
value="255" />
1576                   </xs:restriction>
1577                 </xs:simpleType>
1578               </xs:element>
1579               <xs:element name=
"AddressLine2" msprop:Generator_ColumnVarNameInTable="columnAddressLine2" msprop:Generator_ColumnPropNameInRow="AddressLine2" msprop:Generator_ColumnPropNameInTable="AddressLine2Column" msprop:Generator_UserColumnName="AddressLine2" minOccurs="0">
1580                 <xs:simpleType>
1581                   <xs:restriction
base="xs:string">
1582                     <xs:maxLength
value="255" />
1583                   </xs:restriction>
1584                 </xs:simpleType>
1585               </xs:element>
1586               <xs:element name=
"AddressLine3" msprop:Generator_ColumnVarNameInTable="columnAddressLine3" msprop:Generator_ColumnPropNameInRow="AddressLine3" msprop:Generator_ColumnPropNameInTable="AddressLine3Column" msprop:Generator_UserColumnName="AddressLine3" minOccurs="0">
1587                 <xs:simpleType>
1588                   <xs:restriction
base="xs:string">
1589                     <xs:maxLength
value="255" />
1590                   </xs:restriction>
1591                 </xs:simpleType>
1592               </xs:element>
1593               <xs:element name=
"ContactNo" msprop:Generator_ColumnVarNameInTable="columnContactNo" msprop:Generator_ColumnPropNameInRow="ContactNo" msprop:Generator_ColumnPropNameInTable="ContactNoColumn" msprop:Generator_UserColumnName="ContactNo" minOccurs="0">
1594                 <xs:simpleType>
1595                   <xs:restriction
base="xs:string">
1596                     <xs:maxLength
value="255" />
1597                   </xs:restriction>
1598                 </xs:simpleType>
1599               </xs:element>
1600               <xs:element name=
"EmailID" msprop:Generator_ColumnVarNameInTable="columnEmailID" msprop:Generator_ColumnPropNameInRow="EmailID" msprop:Generator_ColumnPropNameInTable="EmailIDColumn" msprop:Generator_UserColumnName="EmailID" minOccurs="0">
1601                 <xs:simpleType>
1602                   <xs:restriction
base="xs:string">
1603                     <xs:maxLength
value="255" />
1604                   </xs:restriction>
1605                 </xs:simpleType>
1606               </xs:element>
1607               <xs:element name=
"TIN" msprop:Generator_ColumnVarNameInTable="columnTIN" msprop:Generator_ColumnPropNameInRow="TIN" msprop:Generator_ColumnPropNameInTable="TINColumn" msprop:Generator_UserColumnName="TIN" minOccurs="0">
1608                 <xs:simpleType>
1609                   <xs:restriction
base="xs:string">
1610                     <xs:maxLength
value="255" />
1611                   </xs:restriction>
1612                 </xs:simpleType>
1613               </xs:element>
1614               <xs:element name=
"STNo" msprop:Generator_ColumnVarNameInTable="columnSTNo" msprop:Generator_ColumnPropNameInRow="STNo" msprop:Generator_ColumnPropNameInTable="STNoColumn" msprop:Generator_UserColumnName="STNo" minOccurs="0">
1615                 <xs:simpleType>
1616                   <xs:restriction
base="xs:string">
1617                     <xs:maxLength
value="255" />
1618                   </xs:restriction>
1619                 </xs:simpleType>
1620               </xs:element>
1621               <xs:element name=
"CIN" msprop:Generator_ColumnVarNameInTable="columnCIN" msprop:Generator_ColumnPropNameInRow="CIN" msprop:Generator_ColumnPropNameInTable="CINColumn" msprop:Generator_UserColumnName="CIN" minOccurs="0">
1622                 <xs:simpleType>
1623                   <xs:restriction
base="xs:string">
1624                     <xs:maxLength
value="255" />
1625                   </xs:restriction>
1626                 </xs:simpleType>
1627               </xs:element>
1628               <xs:element name=
"Logo" msprop:Generator_ColumnVarNameInTable="columnLogo" msprop:Generator_ColumnPropNameInRow="Logo" msprop:Generator_ColumnPropNameInTable="LogoColumn" msprop:Generator_UserColumnName="Logo" type="xs:base64Binary" minOccurs="0" />
1629               <xs:element name=
"BaseCurrency" msprop:Generator_ColumnVarNameInTable="columnBaseCurrency" msprop:Generator_ColumnPropNameInRow="BaseCurrency" msprop:Generator_ColumnPropNameInTable="BaseCurrencyColumn" msprop:Generator_UserColumnName="BaseCurrency" minOccurs="0">
1630                 <xs:simpleType>
1631                   <xs:restriction
base="xs:string">
1632                     <xs:maxLength
value="255" />
1633                   </xs:restriction>
1634                 </xs:simpleType>
1635               </xs:element>
1636               <xs:element name=
"CurrencyCode" msprop:Generator_ColumnVarNameInTable="columnCurrencyCode" msprop:Generator_ColumnPropNameInRow="CurrencyCode" msprop:Generator_ColumnPropNameInTable="CurrencyCodeColumn" msprop:Generator_UserColumnName="CurrencyCode" minOccurs="0">
1637                 <xs:simpleType>
1638                   <xs:restriction
base="xs:string">
1639                     <xs:maxLength
value="255" />
1640                   </xs:restriction>
1641                 </xs:simpleType>
1642               </xs:element>
1643               <xs:element name=
"TicketFooterMessage" msprop:Generator_ColumnVarNameInTable="columnTicketFooterMessage" msprop:Generator_ColumnPropNameInRow="TicketFooterMessage" msprop:Generator_ColumnPropNameInTable="TicketFooterMessageColumn" msprop:Generator_UserColumnName="TicketFooterMessage" minOccurs="0">
1644                 <xs:simpleType>
1645                   <xs:restriction
base="xs:string">
1646                     <xs:maxLength
value="255" />
1647                   </xs:restriction>
1648                 </xs:simpleType>
1649               </xs:element>
1650               <xs:element name=
"StartBillNo" msprop:Generator_ColumnVarNameInTable="columnStartBillNo" msprop:Generator_ColumnPropNameInRow="StartBillNo" msprop:Generator_ColumnPropNameInTable="StartBillNoColumn" msprop:Generator_UserColumnName="StartBillNo" type="xs:short" minOccurs="0" />
1651             </xs:sequence>
1652           </xs:complexType>
1653         </xs:element>
1654         <xs:element name=
"InventoryType" msprop:Generator_TableClassName="InventoryTypeDataTable" msprop:Generator_TableVarName="tableInventoryType" msprop:Generator_TablePropName="InventoryType" msprop:Generator_RowDeletingName="InventoryTypeRowDeleting" msprop:Generator_RowChangingName="InventoryTypeRowChanging" msprop:Generator_RowEvHandlerName="InventoryTypeRowChangeEventHandler" msprop:Generator_RowDeletedName="InventoryTypeRowDeleted" msprop:Generator_UserTableName="InventoryType" msprop:Generator_RowChangedName="InventoryTypeRowChanged" msprop:Generator_RowEvArgName="InventoryTypeRowChangeEvent" msprop:Generator_RowClassName="InventoryTypeRow">
1655           <xs:complexType>
1656             <xs:sequence>
1657               <xs:element name=
"Type" msprop:Generator_ColumnVarNameInTable="columnType" msprop:Generator_ColumnPropNameInRow="Type" msprop:Generator_ColumnPropNameInTable="TypeColumn" msprop:Generator_UserColumnName="Type">
1658                 <xs:simpleType>
1659                   <xs:restriction
base="xs:string">
1660                     <xs:maxLength
value="255" />
1661                   </xs:restriction>
1662                 </xs:simpleType>
1663               </xs:element>
1664             </xs:sequence>
1665           </xs:complexType>
1666         </xs:element>
1667         <xs:element name=
"Kitchen" msprop:Generator_TableClassName="KitchenDataTable" msprop:Generator_TableVarName="tableKitchen" msprop:Generator_TablePropName="Kitchen" msprop:Generator_RowDeletingName="KitchenRowDeleting" msprop:Generator_RowChangingName="KitchenRowChanging" msprop:Generator_RowEvHandlerName="KitchenRowChangeEventHandler" msprop:Generator_RowDeletedName="KitchenRowDeleted" msprop:Generator_UserTableName="Kitchen" msprop:Generator_RowChangedName="KitchenRowChanged" msprop:Generator_RowEvArgName="KitchenRowChangeEvent" msprop:Generator_RowClassName="KitchenRow">
1668           <xs:complexType>
1669             <xs:sequence>
1670               <xs:element name=
"KitchenName" msprop:Generator_ColumnVarNameInTable="columnKitchenName" msprop:Generator_ColumnPropNameInRow="KitchenName" msprop:Generator_ColumnPropNameInTable="KitchenNameColumn" msprop:Generator_UserColumnName="KitchenName">
1671                 <xs:simpleType>
1672                   <xs:restriction
base="xs:string">
1673                     <xs:maxLength
value="255" />
1674                   </xs:restriction>
1675                 </xs:simpleType>
1676               </xs:element>
1677               <xs:element name=
"Printer" msprop:Generator_ColumnVarNameInTable="columnPrinter" msprop:Generator_ColumnPropNameInRow="Printer" msprop:Generator_ColumnPropNameInTable="PrinterColumn" msprop:Generator_UserColumnName="Printer" minOccurs="0">
1678                 <xs:simpleType>
1679                   <xs:restriction
base="xs:string">
1680                     <xs:maxLength
value="255" />
1681                   </xs:restriction>
1682                 </xs:simpleType>
1683               </xs:element>
1684               <xs:element name=
"IsEnabled" msprop:Generator_ColumnVarNameInTable="columnIsEnabled" msprop:Generator_ColumnPropNameInRow="IsEnabled" msprop:Generator_ColumnPropNameInTable="IsEnabledColumn" msprop:Generator_UserColumnName="IsEnabled" minOccurs="0">
1685                 <xs:simpleType>
1686                   <xs:restriction
base="xs:string">
1687                     <xs:maxLength
value="255" />
1688                   </xs:restriction>
1689                 </xs:simpleType>
1690               </xs:element>
1691             </xs:sequence>
1692           </xs:complexType>
1693         </xs:element>
1694         <xs:element name=
"KOTGeneration" msprop:Generator_TableClassName="KOTGenerationDataTable" msprop:Generator_TableVarName="tableKOTGeneration" msprop:Generator_TablePropName="KOTGeneration" msprop:Generator_RowDeletingName="KOTGenerationRowDeleting" msprop:Generator_RowChangingName="KOTGenerationRowChanging" msprop:Generator_RowEvHandlerName="KOTGenerationRowChangeEventHandler" msprop:Generator_RowDeletedName="KOTGenerationRowDeleted" msprop:Generator_UserTableName="KOTGeneration" msprop:Generator_RowChangedName="KOTGenerationRowChanged" msprop:Generator_RowEvArgName="KOTGenerationRowChangeEvent" msprop:Generator_RowClassName="KOTGenerationRow">
1695           <xs:complexType>
1696             <xs:sequence>
1697               <xs:element name=
"TicketID" msprop:Generator_ColumnVarNameInTable="columnTicketID" msprop:Generator_ColumnPropNameInRow="TicketID" msprop:Generator_ColumnPropNameInTable="TicketIDColumn" msprop:Generator_UserColumnName="TicketID" type="xs:int" />
1698               <xs:element name=
"BillDate" msprop:Generator_ColumnVarNameInTable="columnBillDate" msprop:Generator_ColumnPropNameInRow="BillDate" msprop:Generator_ColumnPropNameInTable="BillDateColumn" msprop:Generator_UserColumnName="BillDate" type="xs:dateTime" minOccurs="0" />
1699               <xs:element name=
"TableNo" msprop:Generator_ColumnVarNameInTable="columnTableNo" msprop:Generator_ColumnPropNameInRow="TableNo" msprop:Generator_ColumnPropNameInTable="TableNoColumn" msprop:Generator_UserColumnName="TableNo" minOccurs="0">
1700                 <xs:simpleType>
1701                   <xs:restriction
base="xs:string">
1702                     <xs:maxLength
value="255" />
1703                   </xs:restriction>
1704                 </xs:simpleType>
1705               </xs:element>
1706               <xs:element name=
"GroupName" msprop:Generator_ColumnVarNameInTable="columnGroupName" msprop:Generator_ColumnPropNameInRow="GroupName" msprop:Generator_ColumnPropNameInTable="GroupNameColumn" msprop:Generator_UserColumnName="GroupName" minOccurs="0">
1707                 <xs:simpleType>
1708                   <xs:restriction
base="xs:string">
1709                     <xs:maxLength
value="255" />
1710                   </xs:restriction>
1711                 </xs:simpleType>
1712               </xs:element>
1713               <xs:element name=
"GrandTotal" msprop:Generator_ColumnVarNameInTable="columnGrandTotal" msprop:Generator_ColumnPropNameInRow="GrandTotal" msprop:Generator_ColumnPropNameInTable="GrandTotalColumn" msprop:Generator_UserColumnName="GrandTotal" type="xs:decimal" minOccurs="0" />
1714               <xs:element name=
"OperatorID" msprop:Generator_ColumnVarNameInTable="columnOperatorID" msprop:Generator_ColumnPropNameInRow="OperatorID" msprop:Generator_ColumnPropNameInTable="OperatorIDColumn" msprop:Generator_UserColumnName="OperatorID" minOccurs="0">
1715                 <xs:simpleType>
1716                   <xs:restriction
base="xs:string">
1717                     <xs:maxLength
value="255" />
1718                   </xs:restriction>
1719                 </xs:simpleType>
1720               </xs:element>
1721               <xs:element name=
"BillNote" msprop:Generator_ColumnVarNameInTable="columnBillNote" msprop:Generator_ColumnPropNameInRow="BillNote" msprop:Generator_ColumnPropNameInTable="BillNoteColumn" msprop:Generator_UserColumnName="BillNote" minOccurs="0">
1722                 <xs:simpleType>
1723                   <xs:restriction
base="xs:string">
1724                     <xs:maxLength
value="255" />
1725                   </xs:restriction>
1726                 </xs:simpleType>
1727               </xs:element>
1728               <xs:element name=
"Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" msprop:Generator_UserColumnName="Status" minOccurs="0">
1729                 <xs:simpleType>
1730                   <xs:restriction
base="xs:string">
1731                     <xs:maxLength
value="255" />
1732                   </xs:restriction>
1733                 </xs:simpleType>
1734               </xs:element>
1735             </xs:sequence>
1736           </xs:complexType>
1737         </xs:element>
1738         <xs:element name=
"KOTGenerationItems" msprop:Generator_TableClassName="KOTGenerationItemsDataTable" msprop:Generator_TableVarName="tableKOTGenerationItems" msprop:Generator_TablePropName="KOTGenerationItems" msprop:Generator_RowDeletingName="KOTGenerationItemsRowDeleting" msprop:Generator_RowChangingName="KOTGenerationItemsRowChanging" msprop:Generator_RowEvHandlerName="KOTGenerationItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="KOTGenerationItemsRowDeleted" msprop:Generator_UserTableName="KOTGenerationItems" msprop:Generator_RowChangedName="KOTGenerationItemsRowChanged" msprop:Generator_RowEvArgName="KOTGenerationItemsRowChangeEvent" msprop:Generator_RowClassName="KOTGenerationItemsRow">
1739           <xs:complexType>
1740             <xs:sequence>
1741               <xs:element name=
"KOT_ID" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnKOT_ID" msprop:Generator_ColumnPropNameInRow="KOT_ID" msprop:Generator_ColumnPropNameInTable="KOT_IDColumn" msprop:Generator_UserColumnName="KOT_ID" type="xs:int" />
1742               <xs:element name=
"Ticket_ID" msprop:Generator_ColumnVarNameInTable="columnTicket_ID" msprop:Generator_ColumnPropNameInRow="Ticket_ID" msprop:Generator_ColumnPropNameInTable="Ticket_IDColumn" msprop:Generator_UserColumnName="Ticket_ID" type="xs:int" minOccurs="0" />
1743               <xs:element name=
"Item_ID" msprop:Generator_ColumnVarNameInTable="columnItem_ID" msprop:Generator_ColumnPropNameInRow="Item_ID" msprop:Generator_ColumnPropNameInTable="Item_IDColumn" msprop:Generator_UserColumnName="Item_ID" type="xs:int" minOccurs="0" />
1744               <xs:element name=
"Qty" msprop:Generator_ColumnVarNameInTable="columnQty" msprop:Generator_ColumnPropNameInRow="Qty" msprop:Generator_ColumnPropNameInTable="QtyColumn" msprop:Generator_UserColumnName="Qty" type="xs:decimal" minOccurs="0" />
1745               <xs:element name=
"Rate" msprop:Generator_ColumnVarNameInTable="columnRate" msprop:Generator_ColumnPropNameInRow="Rate" msprop:Generator_ColumnPropNameInTable="RateColumn" msprop:Generator_UserColumnName="Rate" type="xs:decimal" minOccurs="0" />
1746               <xs:element name=
"Amount" msprop:Generator_ColumnVarNameInTable="columnAmount" msprop:Generator_ColumnPropNameInRow="Amount" msprop:Generator_ColumnPropNameInTable="AmountColumn" msprop:Generator_UserColumnName="Amount" type="xs:decimal" minOccurs="0" />
1747               <xs:element name=
"DiscPer" msprop:Generator_ColumnVarNameInTable="columnDiscPer" msprop:Generator_ColumnPropNameInRow="DiscPer" msprop:Generator_ColumnPropNameInTable="DiscPerColumn" msprop:Generator_UserColumnName="DiscPer" type="xs:decimal" minOccurs="0" />
1748               <xs:element name=
"Disc" msprop:Generator_ColumnVarNameInTable="columnDisc" msprop:Generator_ColumnPropNameInRow="Disc" msprop:Generator_ColumnPropNameInTable="DiscColumn" msprop:Generator_UserColumnName="Disc" type="xs:decimal" minOccurs="0" />
1749               <xs:element name=
"VATPer" msprop:Generator_ColumnVarNameInTable="columnVATPer" msprop:Generator_ColumnPropNameInRow="VATPer" msprop:Generator_ColumnPropNameInTable="VATPerColumn" msprop:Generator_UserColumnName="VATPer" type="xs:decimal" minOccurs="0" />
1750               <xs:element name=
"VATAmt" msprop:Generator_ColumnVarNameInTable="columnVATAmt" msprop:Generator_ColumnPropNameInRow="VATAmt" msprop:Generator_ColumnPropNameInTable="VATAmtColumn" msprop:Generator_UserColumnName="VATAmt" type="xs:decimal" minOccurs="0" />
1751               <xs:element name=
"STPer" msprop:Generator_ColumnVarNameInTable="columnSTPer" msprop:Generator_ColumnPropNameInRow="STPer" msprop:Generator_ColumnPropNameInTable="STPerColumn" msprop:Generator_UserColumnName="STPer" type="xs:decimal" minOccurs="0" />
1752               <xs:element name=
"STAmt" msprop:Generator_ColumnVarNameInTable="columnSTAmt" msprop:Generator_ColumnPropNameInRow="STAmt" msprop:Generator_ColumnPropNameInTable="STAmtColumn" msprop:Generator_UserColumnName="STAmt" type="xs:decimal" minOccurs="0" />
1753               <xs:element name=
"SCPer" msprop:Generator_ColumnVarNameInTable="columnSCPer" msprop:Generator_ColumnPropNameInRow="SCPer" msprop:Generator_ColumnPropNameInTable="SCPerColumn" msprop:Generator_UserColumnName="SCPer" type="xs:decimal" minOccurs="0" />
1754               <xs:element name=
"SCAmt" msprop:Generator_ColumnVarNameInTable="columnSCAmt" msprop:Generator_ColumnPropNameInRow="SCAmt" msprop:Generator_ColumnPropNameInTable="SCAmtColumn" msprop:Generator_UserColumnName="SCAmt" type="xs:decimal" minOccurs="0" />
1755               <xs:element name=
"TotalAmt" msprop:Generator_ColumnVarNameInTable="columnTotalAmt" msprop:Generator_ColumnPropNameInRow="TotalAmt" msprop:Generator_ColumnPropNameInTable="TotalAmtColumn" msprop:Generator_UserColumnName="TotalAmt" type="xs:decimal" minOccurs="0" />
1756               <xs:element name=
"ItemNote" msprop:Generator_ColumnVarNameInTable="columnItemNote" msprop:Generator_ColumnPropNameInRow="ItemNote" msprop:Generator_ColumnPropNameInTable="ItemNoteColumn" msprop:Generator_UserColumnName="ItemNote" minOccurs="0">
1757                 <xs:simpleType>
1758                   <xs:restriction
base="xs:string">
1759                     <xs:maxLength
value="255" />
1760                   </xs:restriction>
1761                 </xs:simpleType>
1762               </xs:element>
1763             </xs:sequence>
1764           </xs:complexType>
1765         </xs:element>
1766         <xs:element name=
"Logs" msprop:Generator_TableClassName="LogsDataTable" msprop:Generator_TableVarName="tableLogs" msprop:Generator_TablePropName="Logs" msprop:Generator_RowDeletingName="LogsRowDeleting" msprop:Generator_RowChangingName="LogsRowChanging" msprop:Generator_RowEvHandlerName="LogsRowChangeEventHandler" msprop:Generator_RowDeletedName="LogsRowDeleted" msprop:Generator_UserTableName="Logs" msprop:Generator_RowChangedName="LogsRowChanged" msprop:Generator_RowEvArgName="LogsRowChangeEvent" msprop:Generator_RowClassName="LogsRow">
1767           <xs:complexType>
1768             <xs:sequence>
1769               <xs:element name=
"ID" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
1770               <xs:element name=
"UserID" msprop:Generator_ColumnVarNameInTable="columnUserID" msprop:Generator_ColumnPropNameInRow="UserID" msprop:Generator_ColumnPropNameInTable="UserIDColumn" msprop:Generator_UserColumnName="UserID" minOccurs="0">
1771                 <xs:simpleType>
1772                   <xs:restriction
base="xs:string">
1773                     <xs:maxLength
value="255" />
1774                   </xs:restriction>
1775                 </xs:simpleType>
1776               </xs:element>
1777               <xs:element name=
"Operation" msprop:Generator_ColumnVarNameInTable="columnOperation" msprop:Generator_ColumnPropNameInRow="Operation" msprop:Generator_ColumnPropNameInTable="OperationColumn" msprop:Generator_UserColumnName="Operation" minOccurs="0">
1778                 <xs:simpleType>
1779                   <xs:restriction
base="xs:string">
1780                     <xs:maxLength
value="255" />
1781                   </xs:restriction>
1782                 </xs:simpleType>
1783               </xs:element>
1784               <xs:element name=
"Date" msprop:Generator_ColumnVarNameInTable="columnDate" msprop:Generator_ColumnPropNameInRow="_Date" msprop:Generator_ColumnPropNameInTable="DateColumn" msprop:Generator_UserColumnName="Date" type="xs:dateTime" minOccurs="0" />
1785             </xs:sequence>
1786           </xs:complexType>
1787         </xs:element>
1788         <xs:element name=
"NotesMaster" msprop:Generator_TableClassName="NotesMasterDataTable" msprop:Generator_TableVarName="tableNotesMaster" msprop:Generator_TablePropName="NotesMaster" msprop:Generator_RowDeletingName="NotesMasterRowDeleting" msprop:Generator_RowChangingName="NotesMasterRowChanging" msprop:Generator_RowEvHandlerName="NotesMasterRowChangeEventHandler" msprop:Generator_RowDeletedName="NotesMasterRowDeleted" msprop:Generator_UserTableName="NotesMaster" msprop:Generator_RowChangedName="NotesMasterRowChanged" msprop:Generator_RowEvArgName="NotesMasterRowChangeEvent" msprop:Generator_RowClassName="NotesMasterRow">
1789           <xs:complexType>
1790             <xs:sequence>
1791               <xs:element name=
"Id" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
1792               <xs:element name=
"Notes" msprop:Generator_ColumnVarNameInTable="columnNotes" msprop:Generator_ColumnPropNameInRow="Notes" msprop:Generator_ColumnPropNameInTable="NotesColumn" msprop:Generator_UserColumnName="Notes" minOccurs="0">
1793                 <xs:simpleType>
1794                   <xs:restriction
base="xs:string">
1795                     <xs:maxLength
value="255" />
1796                   </xs:restriction>
1797                 </xs:simpleType>
1798               </xs:element>
1799             </xs:sequence>
1800           </xs:complexType>
1801         </xs:element>
1802         <xs:element name=
"POSGrouping" msprop:Generator_TableClassName="POSGroupingDataTable" msprop:Generator_TableVarName="tablePOSGrouping" msprop:Generator_TablePropName="POSGrouping" msprop:Generator_RowDeletingName="POSGroupingRowDeleting" msprop:Generator_RowChangingName="POSGroupingRowChanging" msprop:Generator_RowEvHandlerName="POSGroupingRowChangeEventHandler" msprop:Generator_RowDeletedName="POSGroupingRowDeleted" msprop:Generator_UserTableName="POSGrouping" msprop:Generator_RowChangedName="POSGroupingRowChanged" msprop:Generator_RowEvArgName="POSGroupingRowChangeEvent" msprop:Generator_RowClassName="POSGroupingRow">
1803           <xs:complexType>
1804             <xs:sequence>
1805               <xs:element name=
"Id" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
1806               <xs:element name=
"Col1" msprop:Generator_ColumnVarNameInTable="columnCol1" msprop:Generator_ColumnPropNameInRow="Col1" msprop:Generator_ColumnPropNameInTable="Col1Column" msprop:Generator_UserColumnName="Col1" type="xs:int" minOccurs="0" />
1807               <xs:element name=
"Col2" msprop:Generator_ColumnVarNameInTable="columnCol2" msprop:Generator_ColumnPropNameInRow="Col2" msprop:Generator_ColumnPropNameInTable="Col2Column" msprop:Generator_UserColumnName="Col2" minOccurs="0">
1808                 <xs:simpleType>
1809                   <xs:restriction
base="xs:string">
1810                     <xs:maxLength
value="255" />
1811                   </xs:restriction>
1812                 </xs:simpleType>
1813               </xs:element>
1814               <xs:element name=
"Col3" msprop:Generator_ColumnVarNameInTable="columnCol3" msprop:Generator_ColumnPropNameInRow="Col3" msprop:Generator_ColumnPropNameInTable="Col3Column" msprop:Generator_UserColumnName="Col3" type="xs:decimal" minOccurs="0" />
1815               <xs:element name=
"Col4" msprop:Generator_ColumnVarNameInTable="columnCol4" msprop:Generator_ColumnPropNameInRow="Col4" msprop:Generator_ColumnPropNameInTable="Col4Column" msprop:Generator_UserColumnName="Col4" type="xs:decimal" minOccurs="0" />
1816               <xs:element name=
"Col5" msprop:Generator_ColumnVarNameInTable="columnCol5" msprop:Generator_ColumnPropNameInRow="Col5" msprop:Generator_ColumnPropNameInTable="Col5Column" msprop:Generator_UserColumnName="Col5" type="xs:decimal" minOccurs="0" />
1817               <xs:element name=
"Col6" msprop:Generator_ColumnVarNameInTable="columnCol6" msprop:Generator_ColumnPropNameInRow="Col6" msprop:Generator_ColumnPropNameInTable="Col6Column" msprop:Generator_UserColumnName="Col6" type="xs:decimal" minOccurs="0" />
1818               <xs:element name=
"Col7" msprop:Generator_ColumnVarNameInTable="columnCol7" msprop:Generator_ColumnPropNameInRow="Col7" msprop:Generator_ColumnPropNameInTable="Col7Column" msprop:Generator_UserColumnName="Col7" type="xs:decimal" minOccurs="0" />
1819               <xs:element name=
"Col8" msprop:Generator_ColumnVarNameInTable="columnCol8" msprop:Generator_ColumnPropNameInRow="Col8" msprop:Generator_ColumnPropNameInTable="Col8Column" msprop:Generator_UserColumnName="Col8" type="xs:decimal" minOccurs="0" />
1820               <xs:element name=
"Col9" msprop:Generator_ColumnVarNameInTable="columnCol9" msprop:Generator_ColumnPropNameInRow="Col9" msprop:Generator_ColumnPropNameInTable="Col9Column" msprop:Generator_UserColumnName="Col9" type="xs:decimal" minOccurs="0" />
1821               <xs:element name=
"Col10" msprop:Generator_ColumnVarNameInTable="columnCol10" msprop:Generator_ColumnPropNameInRow="Col10" msprop:Generator_ColumnPropNameInTable="Col10Column" msprop:Generator_UserColumnName="Col10" type="xs:decimal" minOccurs="0" />
1822               <xs:element name=
"Col11" msprop:Generator_ColumnVarNameInTable="columnCol11" msprop:Generator_ColumnPropNameInRow="Col11" msprop:Generator_ColumnPropNameInTable="Col11Column" msprop:Generator_UserColumnName="Col11" type="xs:decimal" minOccurs="0" />
1823               <xs:element name=
"Col12" msprop:Generator_ColumnVarNameInTable="columnCol12" msprop:Generator_ColumnPropNameInRow="Col12" msprop:Generator_ColumnPropNameInTable="Col12Column" msprop:Generator_UserColumnName="Col12" type="xs:decimal" minOccurs="0" />
1824               <xs:element name=
"Col13" msprop:Generator_ColumnVarNameInTable="columnCol13" msprop:Generator_ColumnPropNameInRow="Col13" msprop:Generator_ColumnPropNameInTable="Col13Column" msprop:Generator_UserColumnName="Col13" type="xs:decimal" minOccurs="0" />
1825               <xs:element name=
"Col14" msprop:Generator_ColumnVarNameInTable="columnCol14" msprop:Generator_ColumnPropNameInRow="Col14" msprop:Generator_ColumnPropNameInTable="Col14Column" msprop:Generator_UserColumnName="Col14" type="xs:decimal" minOccurs="0" />
1826               <xs:element name=
"Col15" msprop:Generator_ColumnVarNameInTable="columnCol15" msprop:Generator_ColumnPropNameInRow="Col15" msprop:Generator_ColumnPropNameInTable="Col15Column" msprop:Generator_UserColumnName="Col15" minOccurs="0">
1827                 <xs:simpleType>
1828                   <xs:restriction
base="xs:string">
1829                     <xs:maxLength
value="255" />
1830                   </xs:restriction>
1831                 </xs:simpleType>
1832               </xs:element>
1833             </xs:sequence>
1834           </xs:complexType>
1835         </xs:element>
1836         <xs:element name=
"POSPrinterSetting" msprop:Generator_TableClassName="POSPrinterSettingDataTable" msprop:Generator_TableVarName="tablePOSPrinterSetting" msprop:Generator_TablePropName="POSPrinterSetting" msprop:Generator_RowDeletingName="POSPrinterSettingRowDeleting" msprop:Generator_RowChangingName="POSPrinterSettingRowChanging" msprop:Generator_RowEvHandlerName="POSPrinterSettingRowChangeEventHandler" msprop:Generator_RowDeletedName="POSPrinterSettingRowDeleted" msprop:Generator_UserTableName="POSPrinterSetting" msprop:Generator_RowChangedName="POSPrinterSettingRowChanged" msprop:Generator_RowEvArgName="POSPrinterSettingRowChangeEvent" msprop:Generator_RowClassName="POSPrinterSettingRow">
1837           <xs:complexType>
1838             <xs:sequence>
1839               <xs:element name=
"Id" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
1840               <xs:element name=
"PrinterName" msprop:Generator_ColumnVarNameInTable="columnPrinterName" msprop:Generator_ColumnPropNameInRow="PrinterName" msprop:Generator_ColumnPropNameInTable="PrinterNameColumn" msprop:Generator_UserColumnName="PrinterName" minOccurs="0">
1841                 <xs:simpleType>
1842                   <xs:restriction
base="xs:string">
1843                     <xs:maxLength
value="255" />
1844                   </xs:restriction>
1845                 </xs:simpleType>
1846               </xs:element>
1847               <xs:element name=
"PrinterType" msprop:Generator_ColumnVarNameInTable="columnPrinterType" msprop:Generator_ColumnPropNameInRow="PrinterType" msprop:Generator_ColumnPropNameInTable="PrinterTypeColumn" msprop:Generator_UserColumnName="PrinterType" minOccurs="0">
1848                 <xs:simpleType>
1849                   <xs:restriction
base="xs:string">
1850                     <xs:maxLength
value="255" />
1851                   </xs:restriction>
1852                 </xs:simpleType>
1853               </xs:element>
1854               <xs:element name=
"IsEnabled" msprop:Generator_ColumnVarNameInTable="columnIsEnabled" msprop:Generator_ColumnPropNameInRow="IsEnabled" msprop:Generator_ColumnPropNameInTable="IsEnabledColumn" msprop:Generator_UserColumnName="IsEnabled" minOccurs="0">
1855                 <xs:simpleType>
1856                   <xs:restriction
base="xs:string">
1857                     <xs:maxLength
value="255" />
1858                   </xs:restriction>
1859                 </xs:simpleType>
1860               </xs:element>
1861             </xs:sequence>
1862           </xs:complexType>
1863         </xs:element>
1864         <xs:element name=
"R_Table" msprop:Generator_TableClassName="R_TableDataTable" msprop:Generator_TableVarName="tableR_Table" msprop:Generator_TablePropName="R_Table" msprop:Generator_RowDeletingName="R_TableRowDeleting" msprop:Generator_RowChangingName="R_TableRowChanging" msprop:Generator_RowEvHandlerName="R_TableRowChangeEventHandler" msprop:Generator_RowDeletedName="R_TableRowDeleted" msprop:Generator_UserTableName="R_Table" msprop:Generator_RowChangedName="R_TableRowChanged" msprop:Generator_RowEvArgName="R_TableRowChangeEvent" msprop:Generator_RowClassName="R_TableRow">
1865           <xs:complexType>
1866             <xs:sequence>
1867               <xs:element name=
"TableNo" msprop:Generator_ColumnVarNameInTable="columnTableNo" msprop:Generator_ColumnPropNameInRow="TableNo" msprop:Generator_ColumnPropNameInTable="TableNoColumn" msprop:Generator_UserColumnName="TableNo">
1868                 <xs:simpleType>
1869                   <xs:restriction
base="xs:string">
1870                     <xs:maxLength
value="255" />
1871                   </xs:restriction>
1872                 </xs:simpleType>
1873               </xs:element>
1874               <xs:element name=
"Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" msprop:Generator_UserColumnName="Status" minOccurs="0">
1875                 <xs:simpleType>
1876                   <xs:restriction
base="xs:string">
1877                     <xs:maxLength
value="255" />
1878                   </xs:restriction>
1879                 </xs:simpleType>
1880               </xs:element>
1881               <xs:element name=
"InventoryType" msprop:Generator_ColumnVarNameInTable="columnInventoryType" msprop:Generator_ColumnPropNameInRow="InventoryType" msprop:Generator_ColumnPropNameInTable="InventoryTypeColumn" msprop:Generator_UserColumnName="InventoryType" minOccurs="0">
1882                 <xs:simpleType>
1883                   <xs:restriction
base="xs:string">
1884                     <xs:maxLength
value="255" />
1885                   </xs:restriction>
1886                 </xs:simpleType>
1887               </xs:element>
1888             </xs:sequence>
1889           </xs:complexType>
1890         </xs:element>
1891         <xs:element name=
"Registration" msprop:Generator_TableClassName="RegistrationDataTable" msprop:Generator_TableVarName="tableRegistration" msprop:Generator_TablePropName="Registration" msprop:Generator_RowDeletingName="RegistrationRowDeleting" msprop:Generator_RowChangingName="RegistrationRowChanging" msprop:Generator_RowEvHandlerName="RegistrationRowChangeEventHandler" msprop:Generator_RowDeletedName="RegistrationRowDeleted" msprop:Generator_UserTableName="Registration" msprop:Generator_RowChangedName="RegistrationRowChanged" msprop:Generator_RowEvArgName="RegistrationRowChangeEvent" msprop:Generator_RowClassName="RegistrationRow">
1892           <xs:complexType>
1893             <xs:sequence>
1894               <xs:element name=
"UserID" msprop:Generator_ColumnVarNameInTable="columnUserID" msprop:Generator_ColumnPropNameInRow="UserID" msprop:Generator_ColumnPropNameInTable="UserIDColumn" msprop:Generator_UserColumnName="UserID">
1895                 <xs:simpleType>
1896                   <xs:restriction
base="xs:string">
1897                     <xs:maxLength
value="255" />
1898                   </xs:restriction>
1899                 </xs:simpleType>
1900               </xs:element>
1901               <xs:element name=
"UserType" msprop:Generator_ColumnVarNameInTable="columnUserType" msprop:Generator_ColumnPropNameInRow="UserType" msprop:Generator_ColumnPropNameInTable="UserTypeColumn" msprop:Generator_UserColumnName="UserType" minOccurs="0">
1902                 <xs:simpleType>
1903                   <xs:restriction
base="xs:string">
1904                     <xs:maxLength
value="255" />
1905                   </xs:restriction>
1906                 </xs:simpleType>
1907               </xs:element>
1908               <xs:element name=
"Password" msprop:Generator_ColumnVarNameInTable="columnPassword" msprop:Generator_ColumnPropNameInRow="Password" msprop:Generator_ColumnPropNameInTable="PasswordColumn" msprop:Generator_UserColumnName="Password" minOccurs="0">
1909                 <xs:simpleType>
1910                   <xs:restriction
base="xs:string">
1911                     <xs:maxLength
value="255" />
1912                   </xs:restriction>
1913                 </xs:simpleType>
1914               </xs:element>
1915               <xs:element name=
"RegisteredName" msprop:Generator_ColumnVarNameInTable="columnRegisteredName" msprop:Generator_ColumnPropNameInRow="RegisteredName" msprop:Generator_ColumnPropNameInTable="RegisteredNameColumn" msprop:Generator_UserColumnName="RegisteredName" minOccurs="0">
1916                 <xs:simpleType>
1917                   <xs:restriction
base="xs:string">
1918                     <xs:maxLength
value="255" />
1919                   </xs:restriction>
1920                 </xs:simpleType>
1921               </xs:element>
1922               <xs:element name=
"ContactNo" msprop:Generator_ColumnVarNameInTable="columnContactNo" msprop:Generator_ColumnPropNameInRow="ContactNo" msprop:Generator_ColumnPropNameInTable="ContactNoColumn" msprop:Generator_UserColumnName="ContactNo" minOccurs="0">
1923                 <xs:simpleType>
1924                   <xs:restriction
base="xs:string">
1925                     <xs:maxLength
value="255" />
1926                   </xs:restriction>
1927                 </xs:simpleType>
1928               </xs:element>
1929               <xs:element name=
"EmailID" msprop:Generator_ColumnVarNameInTable="columnEmailID" msprop:Generator_ColumnPropNameInRow="EmailID" msprop:Generator_ColumnPropNameInTable="EmailIDColumn" msprop:Generator_UserColumnName="EmailID" minOccurs="0">
1930                 <xs:simpleType>
1931                   <xs:restriction
base="xs:string">
1932                     <xs:maxLength
value="255" />
1933                   </xs:restriction>
1934                 </xs:simpleType>
1935               </xs:element>
1936               <xs:element name=
"JoiningDate" msprop:Generator_ColumnVarNameInTable="columnJoiningDate" msprop:Generator_ColumnPropNameInRow="JoiningDate" msprop:Generator_ColumnPropNameInTable="JoiningDateColumn" msprop:Generator_UserColumnName="JoiningDate" type="xs:dateTime" minOccurs="0" />
1937               <xs:element name=
"Active" msprop:Generator_ColumnVarNameInTable="columnActive" msprop:Generator_ColumnPropNameInRow="Active" msprop:Generator_ColumnPropNameInTable="ActiveColumn" msprop:Generator_UserColumnName="Active" minOccurs="0">
1938                 <xs:simpleType>
1939                   <xs:restriction
base="xs:string">
1940                     <xs:maxLength
value="255" />
1941                   </xs:restriction>
1942                 </xs:simpleType>
1943               </xs:element>
1944             </xs:sequence>
1945           </xs:complexType>
1946         </xs:element>
1947         <xs:element name=
"RestaurantBillingInfo" msprop:Generator_TableClassName="RestaurantBillingInfoDataTable" msprop:Generator_TableVarName="tableRestaurantBillingInfo" msprop:Generator_TablePropName="RestaurantBillingInfo" msprop:Generator_RowDeletingName="RestaurantBillingInfoRowDeleting" msprop:Generator_RowChangingName="RestaurantBillingInfoRowChanging" msprop:Generator_RowEvHandlerName="RestaurantBillingInfoRowChangeEventHandler" msprop:Generator_RowDeletedName="RestaurantBillingInfoRowDeleted" msprop:Generator_UserTableName="RestaurantBillingInfo" msprop:Generator_RowChangedName="RestaurantBillingInfoRowChanged" msprop:Generator_RowEvArgName="RestaurantBillingInfoRowChangeEvent" msprop:Generator_RowClassName="RestaurantBillingInfoRow">
1948           <xs:complexType>
1949             <xs:sequence>
1950               <xs:element name=
"BillId" msprop:Generator_ColumnVarNameInTable="columnBillId" msprop:Generator_ColumnPropNameInRow="BillId" msprop:Generator_ColumnPropNameInTable="BillIdColumn" msprop:Generator_UserColumnName="BillId" type="xs:int" />
1951               <xs:element name=
"BillType" msprop:Generator_ColumnVarNameInTable="columnBillType" msprop:Generator_ColumnPropNameInRow="BillType" msprop:Generator_ColumnPropNameInTable="BillTypeColumn" msprop:Generator_UserColumnName="BillType" minOccurs="0">
1952                 <xs:simpleType>
1953                   <xs:restriction
base="xs:string">
1954                     <xs:maxLength
value="255" />
1955                   </xs:restriction>
1956                 </xs:simpleType>
1957               </xs:element>
1958               <xs:element name=
"BillDate" msprop:Generator_ColumnVarNameInTable="columnBillDate" msprop:Generator_ColumnPropNameInRow="BillDate" msprop:Generator_ColumnPropNameInTable="BillDateColumn" msprop:Generator_UserColumnName="BillDate" type="xs:dateTime" minOccurs="0" />
1959               <xs:element name=
"CustomerName" msprop:Generator_ColumnVarNameInTable="columnCustomerName" msprop:Generator_ColumnPropNameInRow="CustomerName" msprop:Generator_ColumnPropNameInTable="CustomerNameColumn" msprop:Generator_UserColumnName="CustomerName" minOccurs="0">
1960                 <xs:simpleType>
1961                   <xs:restriction
base="xs:string">
1962                     <xs:maxLength
value="255" />
1963                   </xs:restriction>
1964                 </xs:simpleType>
1965               </xs:element>
1966               <xs:element name=
"AddressLine1" msprop:Generator_ColumnVarNameInTable="columnAddressLine1" msprop:Generator_ColumnPropNameInRow="AddressLine1" msprop:Generator_ColumnPropNameInTable="AddressLine1Column" msprop:Generator_UserColumnName="AddressLine1" minOccurs="0">
1967                 <xs:simpleType>
1968                   <xs:restriction
base="xs:string">
1969                     <xs:maxLength
value="255" />
1970                   </xs:restriction>
1971                 </xs:simpleType>
1972               </xs:element>
1973               <xs:element name=
"AddressLine2" msprop:Generator_ColumnVarNameInTable="columnAddressLine2" msprop:Generator_ColumnPropNameInRow="AddressLine2" msprop:Generator_ColumnPropNameInTable="AddressLine2Column" msprop:Generator_UserColumnName="AddressLine2" minOccurs="0">
1974                 <xs:simpleType>
1975                   <xs:restriction
base="xs:string">
1976                     <xs:maxLength
value="255" />
1977                   </xs:restriction>
1978                 </xs:simpleType>
1979               </xs:element>
1980               <xs:element name=
"AddressLine3" msprop:Generator_ColumnVarNameInTable="columnAddressLine3" msprop:Generator_ColumnPropNameInRow="AddressLine3" msprop:Generator_ColumnPropNameInTable="AddressLine3Column" msprop:Generator_UserColumnName="AddressLine3" minOccurs="0">
1981                 <xs:simpleType>
1982                   <xs:restriction
base="xs:string">
1983                     <xs:maxLength
value="255" />
1984                   </xs:restriction>
1985                 </xs:simpleType>
1986               </xs:element>
1987               <xs:element name=
"ContactNo" msprop:Generator_ColumnVarNameInTable="columnContactNo" msprop:Generator_ColumnPropNameInRow="ContactNo" msprop:Generator_ColumnPropNameInTable="ContactNoColumn" msprop:Generator_UserColumnName="ContactNo" minOccurs="0">
1988                 <xs:simpleType>
1989                   <xs:restriction
base="xs:string">
1990                     <xs:maxLength
value="255" />
1991                   </xs:restriction>
1992                 </xs:simpleType>
1993               </xs:element>
1994               <xs:element name=
"PaymentMode" msprop:Generator_ColumnVarNameInTable="columnPaymentMode" msprop:Generator_ColumnPropNameInRow="PaymentMode" msprop:Generator_ColumnPropNameInTable="PaymentModeColumn" msprop:Generator_UserColumnName="PaymentMode" minOccurs="0">
1995                 <xs:simpleType>
1996                   <xs:restriction
base="xs:string">
1997                     <xs:maxLength
value="255" />
1998                   </xs:restriction>
1999                 </xs:simpleType>
2000               </xs:element>
2001               <xs:element name=
"SubTotal" msprop:Generator_ColumnVarNameInTable="columnSubTotal" msprop:Generator_ColumnPropNameInRow="SubTotal" msprop:Generator_ColumnPropNameInTable="SubTotalColumn" msprop:Generator_UserColumnName="SubTotal" type="xs:decimal" minOccurs="0" />
2002               <xs:element name=
"ItemDiscount" msprop:Generator_ColumnVarNameInTable="columnItemDiscount" msprop:Generator_ColumnPropNameInRow="ItemDiscount" msprop:Generator_ColumnPropNameInTable="ItemDiscountColumn" msprop:Generator_UserColumnName="ItemDiscount" type="xs:decimal" minOccurs="0" />
2003               <xs:element name=
"DiscountPer" msprop:Generator_ColumnVarNameInTable="columnDiscountPer" msprop:Generator_ColumnPropNameInRow="DiscountPer" msprop:Generator_ColumnPropNameInTable="DiscountPerColumn" msprop:Generator_UserColumnName="DiscountPer" type="xs:decimal" minOccurs="0" />
2004               <xs:element name=
"Discount" msprop:Generator_ColumnVarNameInTable="columnDiscount" msprop:Generator_ColumnPropNameInRow="Discount" msprop:Generator_ColumnPropNameInTable="DiscountColumn" msprop:Generator_UserColumnName="Discount" type="xs:decimal" minOccurs="0" />
2005               <xs:element name=
"VAT" msprop:Generator_ColumnVarNameInTable="columnVAT" msprop:Generator_ColumnPropNameInRow="VAT" msprop:Generator_ColumnPropNameInTable="VATColumn" msprop:Generator_UserColumnName="VAT" type="xs:decimal" minOccurs="0" />
2006               <xs:element name=
"ServiceTax" msprop:Generator_ColumnVarNameInTable="columnServiceTax" msprop:Generator_ColumnPropNameInRow="ServiceTax" msprop:Generator_ColumnPropNameInTable="ServiceTaxColumn" msprop:Generator_UserColumnName="ServiceTax" type="xs:decimal" minOccurs="0" />
2007               <xs:element name=
"ServiceCharges" msprop:Generator_ColumnVarNameInTable="columnServiceCharges" msprop:Generator_ColumnPropNameInRow="ServiceCharges" msprop:Generator_ColumnPropNameInTable="ServiceChargesColumn" msprop:Generator_UserColumnName="ServiceCharges" type="xs:decimal" minOccurs="0" />
2008               <xs:element name=
"TACharges" msprop:Generator_ColumnVarNameInTable="columnTACharges" msprop:Generator_ColumnPropNameInRow="TACharges" msprop:Generator_ColumnPropNameInTable="TAChargesColumn" msprop:Generator_UserColumnName="TACharges" type="xs:decimal" minOccurs="0" />
2009               <xs:element name=
"HDCharges" msprop:Generator_ColumnVarNameInTable="columnHDCharges" msprop:Generator_ColumnPropNameInRow="HDCharges" msprop:Generator_ColumnPropNameInTable="HDChargesColumn" msprop:Generator_UserColumnName="HDCharges" type="xs:decimal" minOccurs="0" />
2010               <xs:element name=
"GrandTotal" msprop:Generator_ColumnVarNameInTable="columnGrandTotal" msprop:Generator_ColumnPropNameInRow="GrandTotal" msprop:Generator_ColumnPropNameInTable="GrandTotalColumn" msprop:Generator_UserColumnName="GrandTotal" type="xs:decimal" minOccurs="0" />
2011               <xs:element name=
"Cash" msprop:Generator_ColumnVarNameInTable="columnCash" msprop:Generator_ColumnPropNameInRow="Cash" msprop:Generator_ColumnPropNameInTable="CashColumn" msprop:Generator_UserColumnName="Cash" type="xs:decimal" minOccurs="0" />
2012               <xs:element name=
"Change" msprop:Generator_ColumnVarNameInTable="columnChange" msprop:Generator_ColumnPropNameInRow="Change" msprop:Generator_ColumnPropNameInTable="ChangeColumn" msprop:Generator_UserColumnName="Change" type="xs:decimal" minOccurs="0" />
2013               <xs:element name=
"OperatorID" msprop:Generator_ColumnVarNameInTable="columnOperatorID" msprop:Generator_ColumnPropNameInRow="OperatorID" msprop:Generator_ColumnPropNameInTable="OperatorIDColumn" msprop:Generator_UserColumnName="OperatorID" minOccurs="0">
2014                 <xs:simpleType>
2015                   <xs:restriction
base="xs:string">
2016                     <xs:maxLength
value="255" />
2017                   </xs:restriction>
2018                 </xs:simpleType>
2019               </xs:element>
2020               <xs:element name=
"BillNote" msprop:Generator_ColumnVarNameInTable="columnBillNote" msprop:Generator_ColumnPropNameInRow="BillNote" msprop:Generator_ColumnPropNameInTable="BillNoteColumn" msprop:Generator_UserColumnName="BillNote" minOccurs="0">
2021                 <xs:simpleType>
2022                   <xs:restriction
base="xs:string">
2023                     <xs:maxLength
value="255" />
2024                   </xs:restriction>
2025                 </xs:simpleType>
2026               </xs:element>
2027             </xs:sequence>
2028           </xs:complexType>
2029         </xs:element>
2030         <xs:element name=
"RestaurantBillingItems" msprop:Generator_TableClassName="RestaurantBillingItemsDataTable" msprop:Generator_TableVarName="tableRestaurantBillingItems" msprop:Generator_TablePropName="RestaurantBillingItems" msprop:Generator_RowDeletingName="RestaurantBillingItemsRowDeleting" msprop:Generator_RowChangingName="RestaurantBillingItemsRowChanging" msprop:Generator_RowEvHandlerName="RestaurantBillingItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="RestaurantBillingItemsRowDeleted" msprop:Generator_UserTableName="RestaurantBillingItems" msprop:Generator_RowChangedName="RestaurantBillingItemsRowChanged" msprop:Generator_RowEvArgName="RestaurantBillingItemsRowChangeEvent" msprop:Generator_RowClassName="RestaurantBillingItemsRow">
2031           <xs:complexType>
2032             <xs:sequence>
2033               <xs:element name=
"P_ID" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnP_ID" msprop:Generator_ColumnPropNameInRow="P_ID" msprop:Generator_ColumnPropNameInTable="P_IDColumn" msprop:Generator_UserColumnName="P_ID" type="xs:int" />
2034               <xs:element name=
"B_ID" msprop:Generator_ColumnVarNameInTable="columnB_ID" msprop:Generator_ColumnPropNameInRow="B_ID" msprop:Generator_ColumnPropNameInTable="B_IDColumn" msprop:Generator_UserColumnName="B_ID" type="xs:int" minOccurs="0" />
2035               <xs:element name=
"Item_ID" msprop:Generator_ColumnVarNameInTable="columnItem_ID" msprop:Generator_ColumnPropNameInRow="Item_ID" msprop:Generator_ColumnPropNameInTable="Item_IDColumn" msprop:Generator_UserColumnName="Item_ID" type="xs:int" minOccurs="0" />
2036               <xs:element name=
"Qty" msprop:Generator_ColumnVarNameInTable="columnQty" msprop:Generator_ColumnPropNameInRow="Qty" msprop:Generator_ColumnPropNameInTable="QtyColumn" msprop:Generator_UserColumnName="Qty" type="xs:decimal" minOccurs="0" />
2037               <xs:element name=
"Rate" msprop:Generator_ColumnVarNameInTable="columnRate" msprop:Generator_ColumnPropNameInRow="Rate" msprop:Generator_ColumnPropNameInTable="RateColumn" msprop:Generator_UserColumnName="Rate" type="xs:decimal" minOccurs="0" />
2038               <xs:element name=
"Amount" msprop:Generator_ColumnVarNameInTable="columnAmount" msprop:Generator_ColumnPropNameInRow="Amount" msprop:Generator_ColumnPropNameInTable="AmountColumn" msprop:Generator_UserColumnName="Amount" type="xs:decimal" minOccurs="0" />
2039               <xs:element name=
"DiscPer" msprop:Generator_ColumnVarNameInTable="columnDiscPer" msprop:Generator_ColumnPropNameInRow="DiscPer" msprop:Generator_ColumnPropNameInTable="DiscPerColumn" msprop:Generator_UserColumnName="DiscPer" type="xs:decimal" minOccurs="0" />
2040               <xs:element name=
"Disc" msprop:Generator_ColumnVarNameInTable="columnDisc" msprop:Generator_ColumnPropNameInRow="Disc" msprop:Generator_ColumnPropNameInTable="DiscColumn" msprop:Generator_UserColumnName="Disc" type="xs:decimal" minOccurs="0" />
2041               <xs:element name=
"VATPer" msprop:Generator_ColumnVarNameInTable="columnVATPer" msprop:Generator_ColumnPropNameInRow="VATPer" msprop:Generator_ColumnPropNameInTable="VATPerColumn" msprop:Generator_UserColumnName="VATPer" type="xs:decimal" minOccurs="0" />
2042               <xs:element name=
"VATAmt" msprop:Generator_ColumnVarNameInTable="columnVATAmt" msprop:Generator_ColumnPropNameInRow="VATAmt" msprop:Generator_ColumnPropNameInTable="VATAmtColumn" msprop:Generator_UserColumnName="VATAmt" type="xs:decimal" minOccurs="0" />
2043               <xs:element name=
"STPer" msprop:Generator_ColumnVarNameInTable="columnSTPer" msprop:Generator_ColumnPropNameInRow="STPer" msprop:Generator_ColumnPropNameInTable="STPerColumn" msprop:Generator_UserColumnName="STPer" type="xs:decimal" minOccurs="0" />
2044               <xs:element name=
"STAmt" msprop:Generator_ColumnVarNameInTable="columnSTAmt" msprop:Generator_ColumnPropNameInRow="STAmt" msprop:Generator_ColumnPropNameInTable="STAmtColumn" msprop:Generator_UserColumnName="STAmt" type="xs:decimal" minOccurs="0" />
2045               <xs:element name=
"SCPer" msprop:Generator_ColumnVarNameInTable="columnSCPer" msprop:Generator_ColumnPropNameInRow="SCPer" msprop:Generator_ColumnPropNameInTable="SCPerColumn" msprop:Generator_UserColumnName="SCPer" type="xs:decimal" minOccurs="0" />
2046               <xs:element name=
"SCAmt" msprop:Generator_ColumnVarNameInTable="columnSCAmt" msprop:Generator_ColumnPropNameInRow="SCAmt" msprop:Generator_ColumnPropNameInTable="SCAmtColumn" msprop:Generator_UserColumnName="SCAmt" type="xs:decimal" minOccurs="0" />
2047               <xs:element name=
"TotalAmt" msprop:Generator_ColumnVarNameInTable="columnTotalAmt" msprop:Generator_ColumnPropNameInRow="TotalAmt" msprop:Generator_ColumnPropNameInTable="TotalAmtColumn" msprop:Generator_UserColumnName="TotalAmt" type="xs:decimal" minOccurs="0" />
2048               <xs:element name=
"ItemNote" msprop:Generator_ColumnVarNameInTable="columnItemNote" msprop:Generator_ColumnPropNameInRow="ItemNote" msprop:Generator_ColumnPropNameInTable="ItemNoteColumn" msprop:Generator_UserColumnName="ItemNote" minOccurs="0">
2049                 <xs:simpleType>
2050                   <xs:restriction
base="xs:string">
2051                     <xs:maxLength
value="255" />
2052                   </xs:restriction>
2053                 </xs:simpleType>
2054               </xs:element>
2055               <xs:element name=
"TableNo" msprop:Generator_ColumnVarNameInTable="columnTableNo" msprop:Generator_ColumnPropNameInRow="TableNo" msprop:Generator_ColumnPropNameInTable="TableNoColumn" msprop:Generator_UserColumnName="TableNo" minOccurs="0">
2056                 <xs:simpleType>
2057                   <xs:restriction
base="xs:string">
2058                     <xs:maxLength
value="255" />
2059                   </xs:restriction>
2060                 </xs:simpleType>
2061               </xs:element>
2062               <xs:element name=
"GroupName" msprop:Generator_ColumnVarNameInTable="columnGroupName" msprop:Generator_ColumnPropNameInRow="GroupName" msprop:Generator_ColumnPropNameInTable="GroupNameColumn" msprop:Generator_UserColumnName="GroupName" minOccurs="0">
2063                 <xs:simpleType>
2064                   <xs:restriction
base="xs:string">
2065                     <xs:maxLength
value="255" />
2066                   </xs:restriction>
2067                 </xs:simpleType>
2068               </xs:element>
2069             </xs:sequence>
2070           </xs:complexType>
2071         </xs:element>
2072       </xs:choice>
2073     </xs:complexType>
2074     <xs:unique name=
"Constraint1" msdata:PrimaryKey="true">
2075       <xs:selector xpath=
".//mstns:Activation" />
2076       <xs:field xpath=
"mstns:Id" />
2077     </xs:unique>
2078     <xs:unique name=
"Category_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2079       <xs:selector xpath=
".//mstns:Category" />
2080       <xs:field xpath=
"mstns:CategoryName" />
2081     </xs:unique>
2082     <xs:unique name=
"Dish_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2083       <xs:selector xpath=
".//mstns:Dish" />
2084       <xs:field xpath=
"mstns:ItemID" />
2085     </xs:unique>
2086     <xs:unique name=
"Hotel_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2087       <xs:selector xpath=
".//mstns:Hotel" />
2088       <xs:field xpath=
"mstns:ID" />
2089     </xs:unique>
2090     <xs:unique name=
"InventoryType_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2091       <xs:selector xpath=
".//mstns:InventoryType" />
2092       <xs:field xpath=
"mstns:Type" />
2093     </xs:unique>
2094     <xs:unique name=
"Kitchen_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2095       <xs:selector xpath=
".//mstns:Kitchen" />
2096       <xs:field xpath=
"mstns:KitchenName" />
2097     </xs:unique>
2098     <xs:unique name=
"KOTGeneration_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2099       <xs:selector xpath=
".//mstns:KOTGeneration" />
2100       <xs:field xpath=
"mstns:TicketID" />
2101     </xs:unique>
2102     <xs:unique name=
"KOTGenerationItems_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2103       <xs:selector xpath=
".//mstns:KOTGenerationItems" />
2104       <xs:field xpath=
"mstns:KOT_ID" />
2105     </xs:unique>
2106     <xs:unique name=
"Logs_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2107       <xs:selector xpath=
".//mstns:Logs" />
2108       <xs:field xpath=
"mstns:ID" />
2109     </xs:unique>
2110     <xs:unique name=
"NotesMaster_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2111       <xs:selector xpath=
".//mstns:NotesMaster" />
2112       <xs:field xpath=
"mstns:Id" />
2113     </xs:unique>
2114     <xs:unique name=
"POSGrouping_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2115       <xs:selector xpath=
".//mstns:POSGrouping" />
2116       <xs:field xpath=
"mstns:Id" />
2117     </xs:unique>
2118     <xs:unique name=
"POSPrinterSetting_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2119       <xs:selector xpath=
".//mstns:POSPrinterSetting" />
2120       <xs:field xpath=
"mstns:Id" />
2121     </xs:unique>
2122     <xs:unique name=
"R_Table_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2123       <xs:selector xpath=
".//mstns:R_Table" />
2124       <xs:field xpath=
"mstns:TableNo" />
2125     </xs:unique>
2126     <xs:unique name=
"Registration_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2127       <xs:selector xpath=
".//mstns:Registration" />
2128       <xs:field xpath=
"mstns:UserID" />
2129     </xs:unique>
2130     <xs:unique name=
"RestaurantBillingInfo_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2131       <xs:selector xpath=
".//mstns:RestaurantBillingInfo" />
2132       <xs:field xpath=
"mstns:BillId" />
2133     </xs:unique>
2134     <xs:unique name=
"RestaurantBillingItems_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2135       <xs:selector xpath=
".//mstns:RestaurantBillingItems" />
2136       <xs:field xpath=
"mstns:P_ID" />
2137     </xs:unique>
2138   </xs:element>
2139   <xs:annotation>
2140     <xs:appinfo>
2141       <msdata:Relationship name=
"CategoryDish" msdata:parent="Category" msdata:child="Dish" msdata:parentkey="CategoryName" msdata:childkey="Category" msprop:Generator_UserChildTable="Dish" msprop:Generator_ChildPropName="GetDishRows" msprop:Generator_UserRelationName="CategoryDish" msprop:Generator_ParentPropName="CategoryRow" msprop:Generator_RelationVarName="relationCategoryDish" msprop:Generator_UserParentTable="Category" />
2142       <msdata:Relationship name=
"InventoryTypeDish" msdata:parent="InventoryType" msdata:child="Dish" msdata:parentkey="Type" msdata:childkey="InventoryType" msprop:Generator_UserChildTable="Dish" msprop:Generator_ChildPropName="GetDishRows" msprop:Generator_UserRelationName="InventoryTypeDish" msprop:Generator_RelationVarName="relationInventoryTypeDish" msprop:Generator_UserParentTable="InventoryType" msprop:Generator_ParentPropName="InventoryTypeRow" />
2143       <msdata:Relationship name=
"KitchenDish" msdata:parent="Kitchen" msdata:child="Dish" msdata:parentkey="KitchenName" msdata:childkey="Kitchen" msprop:Generator_UserChildTable="Dish" msprop:Generator_ChildPropName="GetDishRows" msprop:Generator_UserRelationName="KitchenDish" msprop:Generator_RelationVarName="relationKitchenDish" msprop:Generator_UserParentTable="Kitchen" msprop:Generator_ParentPropName="KitchenRow" />
2144       <msdata:Relationship name=
"R_TableKOTGeneration" msdata:parent="R_Table" msdata:child="KOTGeneration" msdata:parentkey="TableNo" msdata:childkey="TableNo" msprop:Generator_UserChildTable="KOTGeneration" msprop:Generator_ChildPropName="GetKOTGenerationRows" msprop:Generator_UserRelationName="R_TableKOTGeneration" msprop:Generator_RelationVarName="relationR_TableKOTGeneration" msprop:Generator_UserParentTable="R_Table" msprop:Generator_ParentPropName="R_TableRow" />
2145       <msdata:Relationship name=
"RegistrationKOTGeneration" msdata:parent="Registration" msdata:child="KOTGeneration" msdata:parentkey="UserID" msdata:childkey="OperatorID" msprop:Generator_UserChildTable="KOTGeneration" msprop:Generator_ChildPropName="GetKOTGenerationRows" msprop:Generator_UserRelationName="RegistrationKOTGeneration" msprop:Generator_RelationVarName="relationRegistrationKOTGeneration" msprop:Generator_UserParentTable="Registration" msprop:Generator_ParentPropName="RegistrationRow" />
2146       <msdata:Relationship name=
"DishKOTGenerationItems" msdata:parent="Dish" msdata:child="KOTGenerationItems" msdata:parentkey="ItemID" msdata:childkey="Item_ID" msprop:Generator_UserChildTable="KOTGenerationItems" msprop:Generator_ChildPropName="GetKOTGenerationItemsRows" msprop:Generator_UserRelationName="DishKOTGenerationItems" msprop:Generator_ParentPropName="DishRow" msprop:Generator_RelationVarName="relationDishKOTGenerationItems" msprop:Generator_UserParentTable="Dish" />
2147       <msdata:Relationship name=
"KOTGenerationKOTGenerationItems" msdata:parent="KOTGeneration" msdata:child="KOTGenerationItems" msdata:parentkey="TicketID" msdata:childkey="Ticket_ID" msprop:Generator_UserChildTable="KOTGenerationItems" msprop:Generator_ChildPropName="GetKOTGenerationItemsRows" msprop:Generator_UserRelationName="KOTGenerationKOTGenerationItems" msprop:Generator_ParentPropName="KOTGenerationRow" msprop:Generator_RelationVarName="relationKOTGenerationKOTGenerationItems" msprop:Generator_UserParentTable="KOTGeneration" />
2148       <msdata:Relationship name=
"RegistrationLogs" msdata:parent="Registration" msdata:child="Logs" msdata:parentkey="UserID" msdata:childkey="UserID" msprop:Generator_UserChildTable="Logs" msprop:Generator_ChildPropName="GetLogsRows" msprop:Generator_UserRelationName="RegistrationLogs" msprop:Generator_RelationVarName="relationRegistrationLogs" msprop:Generator_UserParentTable="Registration" msprop:Generator_ParentPropName="RegistrationRow" />
2149       <msdata:Relationship name=
"InventoryTypeR_Table" msdata:parent="InventoryType" msdata:child="R_Table" msdata:parentkey="Type" msdata:childkey="InventoryType" msprop:Generator_UserChildTable="R_Table" msprop:Generator_ChildPropName="GetR_TableRows" msprop:Generator_UserRelationName="InventoryTypeR_Table" msprop:Generator_ParentPropName="InventoryTypeRow" msprop:Generator_RelationVarName="relationInventoryTypeR_Table" msprop:Generator_UserParentTable="InventoryType" />
2150       <msdata:Relationship name=
"RegistrationRestaurantBillingInfo" msdata:parent="Registration" msdata:child="RestaurantBillingInfo" msdata:parentkey="UserID" msdata:childkey="OperatorID" msprop:Generator_UserChildTable="RestaurantBillingInfo" msprop:Generator_ChildPropName="GetRestaurantBillingInfoRows" msprop:Generator_UserRelationName="RegistrationRestaurantBillingInfo" msprop:Generator_ParentPropName="RegistrationRow" msprop:Generator_RelationVarName="relationRegistrationRestaurantBillingInfo" msprop:Generator_UserParentTable="Registration" />
2151       <msdata:Relationship name=
"DishRestaurantBillingItems" msdata:parent="Dish" msdata:child="RestaurantBillingItems" msdata:parentkey="ItemID" msdata:childkey="Item_ID" msprop:Generator_UserChildTable="RestaurantBillingItems" msprop:Generator_ChildPropName="GetRestaurantBillingItemsRows" msprop:Generator_UserRelationName="DishRestaurantBillingItems" msprop:Generator_ParentPropName="DishRow" msprop:Generator_RelationVarName="relationDishRestaurantBillingItems" msprop:Generator_UserParentTable="Dish" />
2152       <msdata:Relationship name=
"RestaurantBillingInfoRestaurantBillingItems" msdata:parent="RestaurantBillingInfo" msdata:child="RestaurantBillingItems" msdata:parentkey="BillId" msdata:childkey="B_ID" msprop:Generator_UserChildTable="RestaurantBillingItems" msprop:Generator_ChildPropName="GetRestaurantBillingItemsRows" msprop:Generator_UserRelationName="RestaurantBillingInfoRestaurantBillingItems" msprop:Generator_ParentPropName="RestaurantBillingInfoRow" msprop:Generator_RelationVarName="relationRestaurantBillingInfoRestaurantBillingItems" msprop:Generator_UserParentTable="RestaurantBillingInfo" />
2153     </xs:appinfo>
2154   </xs:annotation>
2155 </xs:schema>


Gõ tìm kiếm nhanh...